Hi,
this problem exists, when /etc/libnss-ldap.conf is not readeable
by user.

[EMAIL PROTECTED]: strace id root

[...]
geteuid32()                             = 34
futex(0xb7dd0ac4, FUTEX_WAKE, 2147483647) = 0
open("/etc/libnss-ldap.conf", O_RDONLY) = -1 EACCES (Permission denied)
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
close(3)                                = 0
munmap(0xb7f87000, 4096)                = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=956, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f87000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 956
read(3, "", 4096)                       = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
geteuid32()                             = 34
write(2, "id: ldap-nss.c:1312: do_init: As"..., 105id: ldap-nss.c:1312: 
do_init: Assertion `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' 
failed.
) = 105
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(1, "uid=0(root) gid=0(root)", 23uid=0(root) gid=0(root)) = 23
tgkill(13849, 13849, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

after chmod 644 /etc/libnss-ldap.conf
everything works just fine.
This ocurs regardless if nscd is running or not.
Question is, why nscd does not answer correctly? (Per user cache?)

Regards,
   P.


----------------------------------------------------
Szukaj.wp.pl -> Inni szukają, my odpowiadamy! 
Wpisujesz nazwę filmu lub aktora i dostajesz odpowiedź!
Sprawdź: 
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fszk.html&sid=823




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to