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

Re: problems on ldap:add: Invalid syntax (21)

javier rojas writes:
> adding new entry "uid=jrojas,ou=argentina,dc=example,dc=com"
> ldap_add: Invalid syntax (21)
>         additional info: objectclass: value #2 invalid per syntax
> (...)
> objectclass: top
> objectclass: person
> objectclass: posixaccount
> (...)

Value#2 in your LDIF is 'posixaccount' (it counts from #0).

Probably slapd does not recognize this class because your slapd.conf
does not include nis.schema, the file which defines this class.
Also, that file needs core.schema and cosine.schema to be included.

For sale: Parachute. Never opened, used once, slightly stained.