If you build samba with auth_builtin as module smbclient can't find guest.so. The auth_builtin.c file provides "builtin" and "guest" as 'auth methods' in the same module. [global] workgroup = TESTGROUP interfaces = 127.0.0.0/8 [myfiles] path = /home/alex/myfiles read only = no guest ok = yes And then i get: $ smbclient \\\\localhost\\myfiles Enter alex's password: session setup failed: NT_STATUS_LOGON_FAILURE Gives me: Oct 16 13:57:22 fatty smbd[25498]: [2012/10/16 11:57:22.925829, 0] ../source3/auth/auth.c:380(load_auth_module) Oct 16 13:57:22 fatty smbd[25498]: load_auth_module: can't find auth method guest! This needs either be split, renamed or code removed. Andrew please advice.
auth_builtin should be, as it's name implies, builtin. If we do anything here, it should just be to make this impossible to mis-configure, but as it requires special work to break it this way, I really don't think this is a 4.0 blocker. That said, a patch to make it harder to break should not be hard.
Created attachment 8083 [details] v4-0-test patch
The problem occured with: ./configure --with-shared-modules=auth_builtin,auth_sam,auth_unix,auth_winbind,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4
Comment on attachment 8083 [details] v4-0-test patch Sorry, I don't think that will solve it properly
Created attachment 8085 [details] Prevent some modules being built as .so files at configure time This moves the check to the configure time code that prepares the shared/static object list. (then the original patch can be applied additionally for clarity, but not strictly required).
Comment on attachment 8083 [details] v4-0-test patch (sorry) This is a perfectly reasonable patch, just not the whole solution on it's own. Tested on master with my other patch.
Comment on attachment 8085 [details] Prevent some modules being built as .so files at configure time Looks good to me.
Karolin, could you please push to master and add the patches to v4-0-test. Thanks.
Pushed to autobuild-master. Waiting for autobuild.
(In reply to comment #9) > Pushed to autobuild-master. > Waiting for autobuild. Pushed to autobuild-v4-0-test. Closing out bug report. Thanks!