title: ldapadduser invalid dn syntax
body: <p>I am trying to host a centralized authentication server using ldap.</p>
  
  <p>I have a working ldap server, and am using phpLDAPadmin to add/delete users.</p>
  
  <p>However, when I try to add user with ldapscripts command "sudo ldapadduser george RA", following the example in  <a href="https://help.ubuntu.com/lts/serverguide/openldap-server.html#openldap-auth-config" rel="nofollow noreferrer">https://help.ubuntu.com/lts/serverguide/openldap-server.html#openldap-auth-config</a>
  , it says "Error adding user george to LDAP".</p>
  
  <p>When I look in /var/log/ldapscripts.log, the log message seems obscure:
  <a href="https://i.stack.imgur.com/ui0j0.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>I am a newbie to this. Can someone please help? Thanks!</p>