[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Benutzer-Authentifizierung über LDAP



On Thu, 05 Sep 2002, Torsten Hilbrich wrote:

> [...]

OK, ich Denke ich habe jetzt die Quelle meines loginShell-Problems
herausgefunden. Und zwar ist es wohl ein Rechte Problem!

> Was liefert "getent passwd <username>"?

Wenn ich mich als normaler User eingeloggt habe liefert

| getent passwd <username>

Den Eintrag aus /etc/passwd oder nichts, wenn der abgefragte Username
nur im LDAP existiert.

Wenn ich mich dagegen als root einlogge liefert

|  getent passwd <username>

Zuverlässig den Eintrag aus dem LDAP (wenn _ldap_ vor _file_ in der
nsswitch.conf).

Jetzt ist nur die Frage: Liegt es an der libnss-ldap
(/etc/libnss-ldap.conf unverändert) oder an den ACL-Settings in
slapd.conf?

| # /etc/ldap/slapd.conf
| [...]
| access to attribute=userPassword
|         by dn="cn=admin,dc=thoregon,dc=int" write
|         by anonymous auth
|         by self write
|         by * none
| 
| # The admin dn has full write access
| access to *
|         by dn="cn=admin,dc=thoregon,dc=int" write
|         by * read
| [...]

Ich Tippe ja auf libnss-ldap, habe aber im Moment keine Idee was ich
da ändern könnte ...

   Gruß, Markus

-- 
This is Linux Country. On a quiet night, you can hear Windows NT reboot!

Attachment: pgpGKkaT2ttWl.pgp
Description: PGP signature


Reply to: