[Samba] samba-3.5.2 - "getent group" not returning any info
robert.gehr
robert.gehr at baumann-gmbh.de
Mon Apr 12 07:22:14 MDT 2010
Hello there
I just installed 3.5.2 and encountered the following. Compile worked all
right but "getent group" would not give back any results, though "getent
passwd" did list those AD users. The server runs as AD member and
winbind seems to work normally. "wbinfo -u" and "wbinfo -g" return the
desired info just "getent group" sucks.
It works using the previous 3.3.8 version as well as with 3.4.7 using an
unchanged smb.conf.
I can live with 3.4.7 but thought it might be of interest.
Thanks for all the efforts.
Rob
------------
Here the relevant smb.conf:
winbind trusted domains only = No
winbind use default domain = Yes
winbind nested groups = Yes
winbind separator = /
winbind enum users = yes
winbind enum groups = yes
winbind expand groups = 3
idmap uid = 10000-20000
idmap gid = 10000-20000
----------------
and strace for "getent group"
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1,
-1) = 1
read(4, "\27\3\1\0 ", 5) = 5
read(4, "\v\225\310\17\375\t\324\334\02240\275F\213\'^\275Bt\37"..., 32)
= 32
read(4, "\27\3\1\0P", 5) = 5
read(4, "\246\250\266\251]+)\301[\272?O\226\242\21BO&s\n\373\30"..., 80)
= 80
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/etc/ld.so.cache", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=90174, ...}) = 0
mmap(NULL, 90174, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f74914cf000
close(5) = 0
open("/lib64/libnss_winbind.so.2", O_RDONLY) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\33\0"...,
832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=35642, ...}) = 0
mmap(NULL, 2145744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5,
0) = 0x7f748e928000
fadvise64(5, 0, 2145744, POSIX_FADV_WILLNEED) = 0
mprotect(0x7f748e92d000, 2097152, PROT_NONE) = 0
mmap(0x7f748eb2d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 5, 0x5000) = 0x7f748eb2d000
mmap(0x7f748eb2f000, 19920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x7f748eb2f000
close(5) = 0
mprotect(0x7f748eb2d000, 4096, PROT_READ) = 0
munmap(0x7f74914cf000, 90174) = 0
lstat("/tmp/.winbindd", {st_mode=S_IFDIR|0755, st_size=17, ...}) = 0
lstat("/tmp/.winbindd/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...}) =
0
socket(PF_FILE, SOCK_STREAM, 0) = 5
fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(5, F_GETFD) = 0
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
connect(5, {sa_family=AF_FILE, path="/tmp/.winbindd/pipe"}, 110) = 0
select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(5, "0\10\0\0\0\0\0\0\0\0\0\0\204;\0\0\0\10\0\0\0\0\0\0\0\0"...,
2096) = 2096
select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0})
read(5, "\250\r\0\0\2\0\0\0\27\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
3496) = 3496
select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(5, "0\10\0\0000\0\0\0\0\0\0\0\204;\0\0\0\10\0\0\0\0\0\0\0\0"...,
2096) = 2096
select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0})
read(5, "\341\r\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
3496) = 3496
select(6, [5], NULL, NULL, {5, 0}) = 1 (in [5], left {5, 0})
read(5, "/usr/local/samba-3.5.2-run/var/l"..., 57) = 57
lstat("/usr/local/samba-3.5.2-run/var/locks/winbindd_privileged",
{st_mode=S_IFDIR|0750, st_size=17, ...}) = 0
lstat("/usr/local/samba-3.5.2-run/var/locks/winbindd_privileged/pipe",
{st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 6
fcntl(6, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(6, F_GETFD) = 0
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
connect(6, {sa_family=AF_FILE,
path="/usr/local/samba-3.5.2-run/var/locks/winbindd_privileged/pipe"},
110) = 0
close(5) = 0
select(7, [6], NULL, NULL, {0, 0}) = 0 (Timeout)
write(6, "0\10\0\0\n\0\0\0\0\0\0\0\204;\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
select(7, [6], NULL, NULL, {5, 0}) = 1 (in [6], left {5, 0})
read(6, "\250\r\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
3496) = 3496
select(7, [6], NULL, NULL, {0, 0}) = 0 (Timeout)
write(6, "0\10\0\0\f\0\0\0\0\0\0\0\204;\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
select(7, [6], NULL, NULL, {5, 0}) = 1 (in [6], left {5, 0})
read(6, "\250\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
3496) = 3496
close(3) = 0
munmap(0x7f74914e7000, 4096) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
select(7, [6], NULL, NULL, {0, 0}) = 0 (Timeout)
write(6, "0\10\0\0\v\0\0\0\0\0\0\0\204;\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
select(7, [6], NULL, NULL, {5, 0}) = 1 (in [6], left {5, 0})
read(6, "\250\r\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
3496) = 3496
exit_group(0) = ?
More information about the samba
mailing list