Re: lug-bg: openldap
- Subject: Re: lug-bg: openldap
- From: seo@xxxxxxxxxxxx
- Date: Sat, 2 Aug 2003 15:07:49 +0300 (EEST)
> Zdravej,
>
> seo@xxxxxxxxxxxx wrote:
>
>>zdraveite
>>nqkoi imal li si e rabota s ldap
>>molq da me izvinite za "dulgiq mail" no mislq che nai dobre e da si
>> opisha
>>problema taka:
>>
>>
>>
> ...
>
>>no tuk... usera go nqma
>>[root@test root]# id test
>>id: test: No such user
>>
>>
>
>
> na mene konfiguraciata ti mi izglejda dobre.
>
> s kakva distribucia si? probvaj
>
> #strace id test 2>&1 | grep nsswitch.conf
>
> i
>
> #strace id test 2>&1 | grep -i ldap
>
>
[root@test root]$ strace id test 2>&1 | grep -i ldap
ne dava rezultat
[root@test root]$ strace id test 2>&1 | grep nsswitch.conf
syshto ne dava rezultat
[root@test seo]# strace id test 2>&1 | grep -i nscd
connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = 0
imam samo edno zakachane za .nscd_socket
po nadolu ot poredniq strace:
write(3, "\2\0\0\0\0\0\0\0\5\0\0\0", 12) = 12
write(3, "test\0", 5) = 5
read(3, "\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"..., 36)
= 36
close(3) = 0
moje bi propuskam neshto v /etc/pam.d/ ? :
[root@test root]# grep ldap /etc/pam.d/*
/etc/pam.d/login:auth sufficient /lib/security/pam_ldap.so
/etc/pam.d/login:account sufficient /lib/security/pam_ldap.so
/etc/pam.d/login:password sufficient /lib/security/pam_ldap.so
/etc/pam.d/sshd:auth sufficient /lib/security/pam_ldap.so
use_first_pass
/etc/pam.d/system-auth:auth sufficient /lib/security/pam_ldap.so
use_first_pass
/etc/pam.d/system-auth:account [default=ok user_unknown=ignore
service_err=ignore system_err=ignore] /lib/security/pam_ldap.so
/etc/pam.d/system-auth:password sufficient /lib/security/pam_ldap.so
use_authtok
/etc/pam.d/system-auth:session optional /lib/security/pam_ldap.so
--
the lord of destruction
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|