[Classic-discuss] user login through ldap
Rolf Deenen
rdeenen at home.nl
Sun Jan 21 15:50:34 UTC 2007
Hello list,
I am trying to use ldap for a number of services on my freshly installed
tinysofa 2.0 update 6 machine. This is new thing for me and i am trying to learn
from it by doing things step-by-step. I learned that to let users log in
(through ssh) on the machine their ldap object needs at least the attribute
uidNumber (and more but i am allready stuck here). I first tried to add it to my
test-account. It failed. I read some more about it and found out i need to use
the nis.schema schema included in the server configuration to be able to add it.
So i uncommented the line saying: include /etc/openldap/schema/nis.schema and
restarted the daemon using "service ldap restart". It still doesn't work. When
in LDAP Browser\Editor i try to add the objectClass "posixAccount" it says it
requires attribute 'uidNumber'. But when i try to add attribute 'uidNumber' it
says : attribute 'uidNumber' not allowed. Am i missing something here?
The nis.schema file says it depends on core.schema and cosine.schema.
Cosine.schema is included when starting the server but when i try to add
core.schema the ldap-daemon won't start claiming:
Starting OpenLDAP: /etc/openldap/schema/core.schema: line 37: Duplicate
attributeType: "2.5.4.2"
Can anybody tell me, based on the provided information, what i am doing wrong
here? Does anybody here have a simular setup and is he/she willing to share the
slapd.conf file? I've followed some tutorials but they seem to describe exactly
what i am doing, but in their case it works :-) .
Thanks in advance,
Rolf Deenen
More information about the Classic-discuss
mailing list