[Pkg-samba-maint] Bug#753798: samba: Winbind fails to retrieve getent passwd information on slow line to PDC
Pavel V Samsonov
tux2002 at front.ru
Sat Jul 5 08:25:04 UTC 2014
Package: samba
Version: 2:3.6.6-6+deb7u4
Severity: normal
Dear Maintainer,
I have Debian linux server with samba as Windows domain member with security =
domain.
Line to PDC is vpn tunnel with 4Mbps.
nsswitch.conf:
....
passwd: files winbind
group: files winbind
shadow: files
....
I run test command:
wbinfo -t
checking the trust secret for domain ENTERPRISE via RPC calls succeeded
wbinfo -g
ENTERPRISE\пользователи домена
.....
ENTERPRISE\администраторы схемы
48 lines (timeout ~ 2 seconds)
wbinfo -u
ENTERPRISE\метизы
.......
ENTERPRISE\романов
910 lines (timeout ~ 5 seconds)
getent group
<print of groups domain ENETERPRISE OK>
(timeout 1-5 seconds)
getent passwd
<local users>
timeout 20 seconds and print nothing about ENETERPRISE
strace getent passwd
....
connect(5, {sa_family=AF_FILE, path="/var/run/samba/winbindd_privileged/pipe"},
110) = 0
close(4) = 0
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 0) = 0 (Timeout)
write(5, "0\10\0\0\7\0\0\0\0\0\0\0U\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 5000) = 1 ([{fd=5, revents=POLLIN}])
read(5,
"\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\0\0\0\0\0\0"..., 3496)
= 3496
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 0) = 0 (Timeout)
write(5, "0\10\0\0\t\0\0\0\0\0\0\0U\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 5000) = 1 ([{fd=5, revents=POLLIN}])
read(5,
"\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\0\0\0\0\0\0"..., 3496)
= 3496
close(3) = 0
munmap(0xb7791000, 4096) = 0
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 0) = 0 (Timeout)
write(5,
"0\10\0\0\10\0\0\0\0\0\0\0U\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2096) =
2096
poll([{fd=5, events=POLLIN|POLLHUP}], 1, 5000) = 1 ([{fd=5, revents=POLLIN}])
read(5,
"\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\0\0\0\0\0\0"..., 3496)
= 3496
close(5) = 0
exit_group(0) = ?
....
I think that on slow line winbind need large timeouts for work, but I cannot
find smb.conf options.
Thanks.
-- System Information:
Debian Release: 7.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.57tinyware (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii dpkg 1.16.14
ii libacl1 2.2.51-8
ii libattr1 1:2.4.46-8
ii libc6 2.13-38+deb7u1
ii libcap2 1:2.22-1.2
ii libcomerr2 1.42.5-1.1
ii libcups2 1.5.3-5+deb7u1
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1
ii libk5crypto3 1.10.1+dfsg-5+deb7u1
ii libkrb5-3 1.10.1+dfsg-5+deb7u1
ii libldap-2.4-2 2.4.31-1+nmu2
ii libpam-modules 1.1.3-7.1
ii libpam-runtime 1.1.3-7.1
ii libpam0g 1.1.3-7.1
ii libpopt0 1.16-7
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libwbclient0 2:3.6.6-6+deb7u4
ii lsb-base 4.1+Debian8+deb7u1
ii procps 1:3.3.3-3
ii samba-common 2:3.6.6-6+deb7u4
ii update-inetd 4.43
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages samba recommends:
ii logrotate 3.8.1-4
ii tdb-tools 1.2.10-2
Versions of packages samba suggests:
pn ctdb <none>
pn ldb-tools <none>
pn openbsd-inetd | inet-superserver <none>
pn smbldap-tools <none>
-- debconf information:
samba/run_mode: daemons
samba-common/title:
More information about the Pkg-samba-maint
mailing list