title: Open LDAP user creation error
body: <p>When i try to create an user in the OpenLDAP server in ubuntu</p>
  
  <p>using the command "ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f user.ldif"</p>
  
  <p>my user.ldif file is</p>
  
  <hr>
  
  <p>dn: uid=john,ou=people,dc=example,dc=com</p>
  
  <p>objectClass: inetOrgPerson</p>
  
  <p>objectClass: posixAccount</p>
  
  <p>objectClass: shadowAccount</p>
  
  <p>uid: john</p>
  
  <p>sn: Doe</p>
  
  <p>givenName: John</p>
  
  <p>cn: John Doe</p>
  
  <p>displayName: John Doe</p>
  
  <p>uidNumber: 1000</p>
  
  <p>gidNumber: 10000</p>
  
  <p>userPassword: password</p>
  
  <p>gecos: John Doe</p>
  
  <p>loginShell: /bin/bash</p>
  
  <p>homeDirectory: /home/john</p>
  
  <p>shadowExpire: -1</p>
  
  <p>shadowFlag: 0</p>
  
  <p>shadowWarning: 7</p>
  
  <p>shadowMin: 8</p>
  
  <p>shadowMax: 999999</p>
  
  <p>shadowLastChange: 10877</p>
  
  <p>mail: john.doe@example.com</p>
  
  <p>postalCode: 31000</p>
  
  <p>l: Toulouse</p>
  
  <p>o: Example</p>
  
  <p>mobile: +33 (0)6 xx xx xx xx</p>
  
  <p>homePhone: +33 (0)5 xx xx xx xx</p>
  
  <p>title: System Administrator</p>
  
  <p>postalAddress: </p>
  
  <p>initials: JD</p>
  
  <hr>
  
  <p>i am getting the error </p>
  
  <p>"additional info: objectClass: value #0 invalid per syntax"</p>
  
  <p>Can some one help me to resolve this problem?</p>