Bug 968860
| Summary: | multiarch conflict samba-common | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Bierfert <andreas.bierfert> | ||||
| Component: | samba | Assignee: | Guenther Deschner <gdeschner> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 19 | CC: | abokovoy, andreas.bierfert, asn, austinenglish, gdeschner, sbose, ssorce | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-04-14 09:00:23 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Andreas Bierfert
2013-05-30 06:42:52 UTC
What does wine need from the samba-winbind-clients package? The libnss stuff from %{_libdir}.
Can wine load nsswitch modules? How does it use the modules and for what? (In reply to Andreas Schneider from comment #3) > Can wine load nsswitch modules? No. > How does it use the modules and for what? ntlm_auth is used by secur32 for wine's SSPI implementation. See: https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/secur32/dispatcher.c Still in F20: [root@localhost ~]# yum install samba-winbind-clients.i686 Loaded plugins: langpacks, refresh-packagekit No package samba-winbind-clients.i686 available. Error: Nothing to do this breaks the secur32 {negotiate,ntlm} tests on Fedora: negotiate.c:295: Test failed: server returned 80090304, more tests will fail ntlm.c:857: Test failed: Running the server returned SEC_E_INTERNAL_ERROR, more tests will fail from now. secur32 doesn't require 32-bit version of ntlm_auth as it starts it in a separate process. Why do you insists on using 32-bit version? Created attachment 885287 [details]
strace -f
Because 32-bit wine tries to start a 32-bit ntlm_auth. 64-bit ntlm_auth is installed, but does not work.
strace -f attached.
In the strace I can see that it successfully executes the ntlm_auth 64bit version.
grep "^26782" log.txt > 26782.log
You can then check the log and see that it loads 64bit Samba libraries:
26782 open("/usr/lib64/samba/libndr-krb5pac.so.0"
The last line is then:
26782 +++ exited with 0 +++
This is the exit code, 0 = success
So the strace proofs that the 64bit binary works as expected...
There are also issues in your environment as some configurations you run ntlm_auth in require access to winbindd's pipe and that fails:
26812 lstat("/run/samba/winbindd", <unfinished ...>
26747 read(32, <unfinished ...>
26812 <... lstat resumed> 0x7fff4ee4aa50) = -1 ENOENT (No such file or directory)
...
26812 write(1, "could not obtain winbind separat"..., 36) = -1 EPIPE (Broken pipe)
(In reply to Alexander Bokovoy from comment #8) > There are also issues in your environment as some configurations you run > ntlm_auth in require access to winbindd's pipe and that fails: > > 26812 lstat("/run/samba/winbindd", <unfinished ...> > 26747 read(32, <unfinished ...> > 26812 <... lstat resumed> 0x7fff4ee4aa50) = -1 ENOENT (No such file or > directory) > ... > 26812 write(1, "could not obtain winbind separat"..., 36) = -1 EPIPE (Broken > pipe) You're right, it looks like wine isn't compatible with samba4 (the error for missing ntlm_auth is very similar, my mistake). I filed https://bugs.winehq.org/show_bug.cgi?id=35965 for that with wine's bugzilla. Thanks for the information. I'm closing this bug now. |