https://bugs.winehq.org/show_bug.cgi?id=36014
Bug ID: 36014 Summary: secur32/{negotiate,ntlm} tests fail with debian's samba/winbind 4 Product: Wine Version: 1.7.16 Hardware: x86 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: secur32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Follow up to bug 35965.
The secur32 tests fail on a default installation of samba/winbind4 on Debian 7 (wheezy): ../../../tools/runtest -q -P wine -T ../../.. -M secur32.dll -p secur32_test.exe.so negotiate && touch negotiate.ok WARNING: gnome-keyring:: couldn't connect to: /home/austin/.cache/keyring-mD4V6F/pkcs11: No such file or directory ntlm_auth: /usr/lib/i386-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/i386-linux-gnu/samba/libauth4.so) fixme:secur32:nego_AcquireCredentialsHandleW forwarding to NTLM fixme:secur32:nego_AcquireCredentialsHandleW forwarding to NTLM ntlm_auth: /usr/lib/i386-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/i386-linux-gnu/samba/libauth4.so) ntlm_auth: /usr/lib/i386-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/i386-linux-gnu/samba/libauth4.so) Unable to setup messaging listener for '/var/lib/samba/private/smbd.tmp/msg/msg.10803.179872511':NT_STATUS_OBJECT_NAME_NOT_FOUND negotiate.c:295: Test failed: server returned 80090304, more tests will fail negotiate.c:305: Tests skipped: authentication failed, skipping remaining tests negotiate.c:349: Test failed: DeleteSecurityContext returned 80090301 make: *** [negotiate.ok] Error 2
that lack of version information message seems bad, and makes the tests fail even worse later (in ntlm.c): ../../../tools/runtest -q -P wine -T ../../.. -M secur32.dll -p secur32_test.exe.so ntlm && touch ntlm.ok WARNING: gnome-keyring:: couldn't connect to: /home/austin/.cache/keyring-mD4V6F/pkcs11: No such file or directory ntlm_auth: /usr/lib/i386-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/i386-linux-gnu/samba/libauth4.so) .. ntlm_auth: /usr/lib/i386-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/i386-linux-gnu/samba/libauth4.so) =============================================================== INTERNAL ERROR: Signal 11 in pid 10826 (4.0.0beta2) Please read the Trouble-Shooting section of the Samba HOWTO =============================================================== PANIC: internal error
but, as Dmitry points out in https://bugs.winehq.org/show_bug.cgi?id=35965#c9, the wiki says that only ntlm_auth needs to be available, nothing is said about the configuration: "To get access to all the features while using NtlmSigningAndSealing, you need an up-to-date version of ntlm_auth. Samba 3.0.26 or later will do. In some distributions, you need to install the "winbind" package to get ntlm_auth.
If you want client mode NTLM for Wine, e.g. reading your email using Outlook over a connection with NTLM encryption, that's all you need. "
https://bugs.winehq.org/show_bug.cgi?id=36014
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 48151 --> https://bugs.winehq.org/attachment.cgi?id=48151 make test output
https://bugs.winehq.org/show_bug.cgi?id=36014
--- Comment #2 from Austin English austinenglish@gmail.com --- Version info (dpkg -l | grep -e samba -e winbind): ii libsamba-credentials0:i386 4.0.0~beta2+dfsg1-3.2 i386 Samba Credentials management library ii libsamba-hostconfig0:i386 4.0.0~beta2+dfsg1-3.2 i386 Samba host configuration library ii libsamba-policy0:i386 4.0.0~beta2+dfsg1-3.2 i386 Samba policy management ii libsamba-util0:i386 4.0.0~beta2+dfsg1-3.2 i386 Samba utility function library ii libwbclient0:i386 2:3.6.6-6+deb7u2 i386 Samba winbind client library ii python-samba 4.0.0~beta2+dfsg1-3.2 i386 Python bindings for Samba ii samba-common 2:3.6.6-6+deb7u2 all common files used by both the Samba server and client ii samba-common-bin 2:3.6.6-6+deb7u1 i386 common files used by both the Samba server and client ii samba-dsdb-modules 4.0.0~beta2+dfsg1-3.2 i386 Samba Directory Services Database ii samba4 4.0.0~beta2+dfsg1-3.2 i386 SMB/CIFS file, NT domain and active directory server (version 4) ii samba4-common-bin 4.0.0~beta2+dfsg1-3.2 i386 Samba 4 common files used by both the server and the client ii winbind4 4.0.0~beta2+dfsg1-3.2 i386 service to resolve user and group information from Windows NT servers
wine-1.7.16-199-ga6e53ea
https://bugs.winehq.org/show_bug.cgi?id=36014
--- Comment #3 from Austin English austinenglish@gmail.com --- I suspect that part of this is that debian's winbind/samba packages have a mismatch. I just noticed that the winbind library is 3.6.6: ii libwbclient0:i386 2:3.6.6-6+deb7u2 i386 Samba winbind client library
while winbind itself is 4.0.0. Forcing a newer libwbclient0 (4.1.6) from unstable didn't help.
I'll file a debian bug as well.
https://bugs.winehq.org/show_bug.cgi?id=36014
--- Comment #4 from Hans Leidekker hans@meelstraat.net ---
Unable to setup messaging listener for '/var/lib/samba/private/smbd.tmp/msg/msg.10803.179872511':NT_STATUS_OBJECT_NAME_NOT_FOUND
Might be https://bugzilla.samba.org/show_bug.cgi?id=9465 although the error code is different (NT_STATUS_OBJECT_NAME_NOT_FOUND vs NT_STATUS_ACCESS_DENIED).
https://bugs.winehq.org/show_bug.cgi?id=36014
austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |UPSTREAM
--- Comment #5 from austinenglish@gmail.com --- (In reply to Hans Leidekker from comment #4)
Unable to setup messaging listener for '/var/lib/samba/private/smbd.tmp/msg/msg.10803.179872511':NT_STATUS_OBJECT_NAME_NOT_FOUND
Might be https://bugzilla.samba.org/show_bug.cgi?id=9465 although the error code is different (NT_STATUS_OBJECT_NAME_NOT_FOUND vs NT_STATUS_ACCESS_DENIED).
Could be, but it's resolved by upgrading all samba packages to samba4. Then make test passes.
It's debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744977, so UPSTREAM for now.
Up to you if you want to fix it anyway.
https://bugs.winehq.org/show_bug.cgi?id=36014
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- Can this bug be closed?
https://bugs.winehq.org/show_bug.cgi?id=36014
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- Closing.