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. "