Red Hat Bugzilla – Bug 867854
auth_builtin auth_domain auth_sam and auth_winbind are built as shared modules.
Last modified: 2013-02-21 03:36:42 EST
Description of problem:
auth_builtin auth_domain auth_sam and auth_winbind modules are not allowed to be built as shared modules. They need to be linked into smbd statically. We addressed this upstream for 4.0 to fail if they are built as modules, see:
and we will cleanup this completely later to don't give a choice. Build as much as possible as shared module. See
However the spec file needs to be changed to not build auth_builtin auth_domain auth_sam and auth_winbind as shared modules.
please provide steps to verify
workgroup = TESTGROUP
security = share
path = /srv/samba/files
read only = no
guest ok = yes
And then I get:
$ smbclient \\\\localhost\\myfiles
Enter asn's password:
session setup failed: NT_STATUS_LOGON_FAILURE
The log says:
Oct 16 13:57:22 fatty smbd: [2012/10/16 11:57:22.925829, 0]
Oct 16 13:57:22 fatty smbd: load_auth_module: can't find auth method
Compiling auth_builtin into smbd, what we do now, fixes the problem. More information can be found if you search for 'auth methods' in the smb.conf manpage. Let me know if you need more help for testing.
A sanity only check, would be to check that there are no builtin.so winbind.so and domain.so in /usr/lib/samba/auth.
Verified on 64bit using steps:
# ls /usr/lib64/samba/auth/
script.so unix.so wbc.so
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.