Hi List, i?ve a strange problem with samba-winbind-3.0.8 and getent passwd. i think i?ve configured all well because wbinfo -u -g aso.. works fine but if i want to list the users with getent passwd i get only the local users a strace of getent shows me following: execve("/usr/bin/getent", ["getent", "passwd"], [/* 51 vars */]) = 0 uname({sys="Linux", node="grapefruit", ...}) = 0 brk(0) = 0x804d000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=67731, ...}) = 0 old_mmap(NULL, 67731, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360Y\1"..., 512) 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1333580, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40025000 old_mmap(NULL, 1133828, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40026000 madvise(0x40026000, 1133828, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x40131000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10b000) = 0x40131000 old_mmap(0x40139000, 7428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40139000 close(3) = 0 munmap(0x40014000, 67731) = 0 brk(0) = 0x804d000 brk(0x806e000) = 0x806e000 brk(0) = 0x806e000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2528 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40014000, 4096) = 0 open("/usr/lib/locale/de_DE.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/de_DE.utf8/LC_CTYPE", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=238592, ...}) = 0 old_mmap(NULL, 238592, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4013b000 close(3) = 0 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=21436, ...}) = 0 old_mmap(NULL, 21436, PROT_READ, MAP_SHARED, 3, 0) = 0x40176000 close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1290, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4017c000 read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1290 read(3, "", 4096) = 0 close(3) = 0 munmap(0x4017c000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=67731, ...}) = 0 old_mmap(NULL, 67731, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4017c000 close(3) = 0 open("/lib/libnss_compat.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\22"..., 512) 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=32046, ...}) = 0 old_mmap(NULL, 29676, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4018d000 madvise(0x4018d000, 29676, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x40194000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x40194000 close(3) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240<\0"..., 512) 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=87882, ...}) = 0 old_mmap(NULL, 84992, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40195000 madvise(0x40195000, 84992, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x401a7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x401a7000 old_mmap(0x401a8000, 7168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401a8000 close(3) = 0 munmap(0x4017c000, 67731) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=67731, ...}) = 0 old_mmap(NULL, 67731, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4017c000 close(3) = 0 open("/lib/libnss_nis.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\35"..., 512) 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=40877, ...}) = 0 old_mmap(NULL, 36616, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401aa000 madvise(0x401aa000, 36616, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x401b2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x401b2000 close(3) = 0 open("/lib/libnss_files.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\35"..., 512) 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=41737, ...}) = 0 old_mmap(NULL, 33716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401b3000 madvise(0x401b3000, 33716, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x401bb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x401bb000 close(3) = 0 munmap(0x4017c000, 67731) = 0 open("/etc/passwd", O_RDONLY) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=844, ...}) = 0 mmap2(NULL, 844, PROT_READ, MAP_SHARED, 3, 0) = 0x4017c000 _llseek(3, 844, [844], SEEK_SET) = 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4017d000 write(1, "root:x:0:0:root:/root:/bin/bash\n", 32) = 32 write(1, "bin:x:1:1:bin:/bin:/bin/bash\n", 29) = 29 write(1, "daemon:x:2:2:Daemon:/sbin:/bin/b"..., 36) = 36 write(1, "lp:x:4:7:Printing daemon:/var/sp"..., 50) = 50 write(1, "mail:x:8:12:Mailer daemon:/var/s"..., 61) = 61 write(1, "games:x:12:100:Games account:/va"..., 50) = 50 write(1, "at:x:25:25:Batch jobs daemon:/va"..., 57) = 57 write(1, "wwwrun:x:30:8:WWW daemon apache:"..., 59) = 59 write(1, "ftp:x:40:49:FTP account:/srv/ftp"..., 43) = 43 write(1, "postfix:x:51:51:Postfix Daemon:/"..., 61) = 61 write(1, "sshd:x:71:65:SSH daemon:/var/lib"..., 49) = 49 write(1, "ntp:x:74:65534:NTP daemon:/var/l"..., 50) = 50 write(1, "nobody:x:65534:65533:nobody:/var"..., 54) = 54 write(1, "aseidel:x:500:100:Arno Seidel:/h"..., 54) = 54 write(1, "man:x:13:62:Manual pages viewer:"..., 57) = 57 write(1, "news:x:9:13:News system:/etc/new"..., 44) = 44 write(1, "uucp:x:10:14:Unix-to-Unix CoPy s"..., 58) = 58 fstat64(3, {st_mode=S_IFREG|0644, st_size=844, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=67731, ...}) = 0 old_mmap(NULL, 67731, PROT_READ, MAP_PRIVATE, 4, 0) = 0x401bc000 close(4) = 0 open("/lib/libnss_winbind.so.2", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\22\0\000"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=22366, ...}) = 0 old_mmap(NULL, 26588, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x401cd000 madvise(0x401cd000, 26588, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x401d1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x4000) = 0x401d1000 old_mmap(0x401d2000, 6108, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d2000 close(4) = 0 munmap(0x401bc000, 67731) = 0 getpid() = 4996 getpid() = 4996 getpid() = 4996 lstat64("/tmp/.winbindd", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 lstat64("/tmp/.winbindd/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 4 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=AF_UNIX, path="/tmp/.winbindd/pipe"}, 110) = 0 getpid() = 4996 getpid() = 4996 select(5, [4], NULL, NULL, {0, 0}) = 0 (Timeout) write(4, " \7\0\0\0\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1824) = 1824 select(5, [4], NULL, NULL, {5, 0}) = 1 (in [4], left {5, 0}) read(4, "\24\5\0\0\1\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1300) = 1300 getpid() = 4996 getpid() = 4996 select(5, [4], NULL, NULL, {0, 0}) = 0 (Timeout) write(4, " \7\0\0*\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1824) = 1824 select(5, [4], NULL, NULL, {5, 0}) = 1 (in [4], left {5, 0}) read(4, "7\5\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1300) = 1300 select(5, [4], NULL, NULL, {5, 0}) = 1 (in [4], left {5, 0}) read(4, "/var/lib/samba/winbindd_privileg"..., 35) = 35 lstat64("/var/lib/samba/winbindd_privileged", {st_mode=S_IFDIR|0750, st_size=72, ...}) = 0 lstat64("/var/lib/samba/winbindd_privileged/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 5 fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(5, F_GETFD) = 0 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 connect(5, {sa_family=AF_UNIX, path="/var/lib/samba/winbindd_privileged/pipe"}, 110) = 0 close(4) = 0 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout) write(5, " \7\0\0\6\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1824) = 1824 select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0}) read(5, "\24\5\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1300) = 1300 getpid() = 4996 getpid() = 4996 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout) write(5, " \7\0\0\10\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1824) = 1824 select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0}) read(5, "\24\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1300) = 1300 munmap(0x4017c000, 844) = 0 close(3) = 0 getpid() = 4996 getpid() = 4996 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout) write(5, " \7\0\0\7\0\0\0\204\23\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1824) = 1824 select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0}) read(5, "\24\5\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1300) = 1300 munmap(0x4017d000, 4096) = 0 exit_group(0) = ? it seems that the getent gets a timeout on the winbind pipe. what should i do or what can i do that it wolud work?? regards Arno Seidel System Administration eHotel AG Greifswalderstr. 207 D-10405 Berlin Tel: +49(0)30 473 73 115 Fax: +49(0)30 473 73 403 Mobile: +49(0)163 601 82 49