[Samba] winbindd problem - STATUS_BUFFER_OVERFLOW (0x80000005)

Daniel Meyer eagle at cyberdelia.de
Mon Mar 8 10:14:53 GMT 2004


Hi everyone,

i've got a little (at least i hope its a minor one) problem with winbind.

General information about the system:

- GNU/Linux 2.4.25-2tr
- samba-3.0.2-4tr

Samba successfully joined the ads (w2k servers), wbinfo -u and -g are
working
perfectly. If i try to authenticate a user with wbinfo or with ntlm_auth
(overall goal is to have ntlm authentication with squid) i get a
"STATUS_BUFFER_OVERFLOW (0x80000005)" error.

Example:

root at proxy ~# wbinfo --authenticate=Administrator%<password>
plaintext password authentication failed
error code was STATUS_BUFFER_OVERFLOW (0x80000005)
error messsage was: STATUS_BUFFER_OVERFLOW
Could not authenticate user Administrator%<password> with plaintext
password
challenge/response password authentication failed
error code was STATUS_BUFFER_OVERFLOW (0x80000005)
error messsage was: STATUS_BUFFER_OVERFLOW
Could not authenticate user Administrator with challenge/response


ntlm_auth clients started by squid just die:
[2004/03/08 10:34:31, 1] utils/ntlm_auth.c:manage_squid_request(1320)
  fgets() failed! dying..... errno=0 (Success)



strace of wbinfo --authenticate... says:

[...]
lstat64("/tmp/.winbindd", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/tmp/.winbindd/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...}) =
0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
connect(3, {sa_family=AF_UNIX, path="/tmp/.winbindd/pipe"}, 110) = 0
getpid()                                = 7990
getpid()                                = 7990
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, " \6\0\0\0\0\0\0006\37\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1568) = 1568
read(3, "\24\5\0\0\1\0\0\0\t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1300) = 1300
getpid()                                = 7990
getpid()                                = 7990
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(3, " \6\0\0)\0\0\0006\37\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1568) = 1568
read(3, "9\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
read(3, "/var/cache/samba/winbindd_privil"..., 37) = 37
lstat64("/var/cache/samba/winbindd_privileged", {st_mode=S_IFDIR|0750,
st_size=4096, ...}) = 0
lstat64("/var/cache/samba/winbindd_privileged/pipe",
{st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
connect(4, {sa_family=AF_UNIX,
path="/var/cache/samba/winbindd_privileged/pipe"}, 110) = 0
close(3)                                = 0
select(5, [4], NULL, NULL, {0, 0})      = 0 (Timeout)
write(4, " \6\0\0\f\0\0\0006\37\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1568) = 1568
read(4, "\24\5\0\0\0\0\0\0\5\0\0\200STATUS_BUFFER_OVERFL"..., 1300) = 1300
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) = 0x401fa000
write(1, "plaintext password authenticatio"..., 41plaintext password
authentication failed
) = 41
write(1, "error code was STATUS_BUFFER_OVE"..., 94error code was
STATUS_BUFFER_OVERFLOW (0x80000005)
error messsage was: STATUS_BUFFER_OVERFLOW
) = 94



So it looks like something strange happening in winbindd....

Google doesnt tell anything usefull regarding "STATUS_BUFFER_OVERFLOW
(0x80000005)", so i dont think its a common problem.

Did anyone here encounter this problem before?

TIA,
Danny
-- 
Here we go, don't ya know             =        http://www.cyberdelia.de
We're the ones that keep it wicked    =        eagle at cyberdelia.de
Rock n' Roll, all good, mix it up     =
That's my ticket                      =                             \o/



More information about the samba mailing list