[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Invalid syntax on ldapadd


Vinh.CTR.Hoang@faa.gov wrote:
Ok, I found the right ldapadd to use, but now i'm getting
   Invalid syntax (21)
              additional info: objectClass: value#0 invalid per syntax

So something isn't right with the Value#0 of the objectClass: attribute.
Check if there are any "unusual" characters around "account" - if not, check if you have included "cosine.schema" into your configuration: It defines "account" as an object class.

If "cosine.schema" isn't loaded, your LDAP server probably doesn't know about an objectClass: account and rejects it as "invalid syntax".

Christian Marg                    mail  : mailto:marg@rz.tu-clausthal.de
Dezernat 2 TU Clausthal           web   : http://www.tu-clausthal.de
D-38678 Clausthal-Zellerfeld      fon   : 05323/72-2107
Germany                           jabber: ifcma@jabber.tu-clausthal.de