I think you need to include the nis.schema
in your slapd.conf. Also you might want to try a
LDAP browser, as it helps add
users and allows you to see what objectclass are available
and which attributes are needed.
Nuno Manuel Martins <firstname.lastname@example.org> Sent by: openldap-technical-bounces+vinh.ctr.hoang=faa.gov@OpenLDAP.org
I am very new to OpenLDAP and I am trying
to put a Linux box authenticating trough OpenLDAP instead of using the
standard password file.
For this use I followed the tutorial you
can find at http://ldots.org/ldap/
but it seems this howto is out of date. The first problem I ran into was
when trying to insert a new user in LDIF format, I corrected the first
error I got and now this is the file I have
When I try to run ldapadd I get the following
adding new entry "uid=branc0,ou=People,dc=example,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectclass: value #1
invalid per syntax
I am not sure what the problem is, although
I’m pretty sure it is between the chair and the keyboard. Maybe someone
on the list can direct me to a more up-to-date tutorial on setting up authentication
with LDAP ?