FreeBSD 5.1 & winbind & nss
Oleg Palij
my_ml at pisem.net
Thu Dec 11 08:37:45 GMT 2003
I installed Samba 3.0.1rc1 on FreeBSD 5.1. I have problems with winbind+nss. When domain user tryed to
connect to my computer over SMB protocol, he asked about username & password. And winbind logs:
[2003/12/11 11:25:20, 0] nsswitch/winbindd.c:process_loop(725)
process_loop: Invalid request size from pid 29038: 1304 bytes sent, should be 1568
This usually means that you are running old wbinfo, pam_winbind or libnss_winbind clients
But I use wbinfo and libnss_winbind which were build from 3.0.1rc1 sources!
And on my comp:
# wbinfo -t
checking the trust secret via RPC calls succeeded
# wbinfo -p
Ping to winbindd succeeded on fd 4
# wbinfo -u | grep Admini
PRIDN\Administrator
# wbinfo -a PRIDN\\User%Password
plaintext password authentication succeeded
challenge/response password authentication succeeded
# cat /etc/nsswitch.conf
passwd: files winbind
group: files winbind
# ls -la /usr/lib/*winbind*
-rwxr-xr-x 1 root wheel 12K 11 дек 11:26 /usr/lib/libnss_winbind.so
-rwxr-xr-x 1 root wheel 12K 11 дек 10:56 /usr/lib/nss_winbind.so
lrwxr-xr-x 1 root wheel 14B 11 дек 11:01 /usr/lib/nss_winbind.so.1 -> nss_winbind.so
-rwxr-xr-x 1 root wheel 17K 4 дек 02:47 /usr/lib/pam_winbind.so
# id PRIDN\\Administrator
id: PRIDN\Administrator: no such user
# strace id PRIDN\\Administrator
...
access("/usr/lib/nss_files.so.1", F_OK) = -1 ENOENT (No such file or directory)
...
access("/usr/lib/nss_winbind.so.1", F_OK) = 0
open("/usr/lib/nss_winbind.so.1", O_RDONLY) = 4
...
gettimeofday({227806617, 221908291}, NULL) = 0
access("/etc/localtime", R_OK) = 0
open("/etc/localtime", O_RDONLY) = 3
fstat(3, {st_mode=072141, st_size=8243680180223110761, ...}) = 0
read(3, " too long\0Protocol not available"..., 7944) = 775
close(3) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=0x50 /* AF_??? */, sa_data="dress already "}, 106) = 0
sendto(3, "in use\0Network is down\0Network i"..., 91, 0, NULL, 0) = 91
write(2, "s un", 4id: ) = 4
write(2, "reachable\0Connection reset by pe"..., 33PRIDN\Administrator: no such user) = 33
write(2, "\n", 1
) = 1
exit(1) = ?
More information about the samba-technical
mailing list