found 432971 2:3.2.5-4 thanks Coming back on this old bug report by Martin....
With the following smb.conf: [global] guest account = nobody workgroup = MAISON server string = Le portable de Kiki (samba %v) map to guest = Bad User [homes] comment = Home Directories browseable = yes read only = no create mode = 0700 [public] directory mask=0700 browseable=yes comment=Public read only=no create mask=0770 public=yes path=/var/tmp/samba-test I can mount: r...@mykerinos:/var/log/samba> mount -t cifs -o guest //localhost/public /mnt --verbose parsing options: rw,guest mount.cifs kernel mount options unc=//localhost\public,ip=127.0.0.1,user=root,ver=1,rw,guest r...@mykerinos:/var/log/samba> *Without* "map to guest = Bad User", I can't: r...@mykerinos:/var/log/samba> mount -t cifs -o guest //localhost/public /mnt --verbose parsing options: rw,guest mount.cifs kernel mount options unc=//localhost\public,ip=127.0.0.1,user=root,ver=1,rw,guest mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) And the log shows: [2009/01/31 19:03:04, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1608) Domain=[] NativeOS=[Linux version 2.6.25-2-686] NativeLanMan=[CIFS VFS Client for Linux] PrimaryDomain=[] [2009/01/31 19:03:04, 2] smbd/sesssetup.c:setup_new_vc_session(1363) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/01/31 19:03:04, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1624) sesssetupX:name=[]\[ro...@[__ffff_127.0.0.1] [2009/01/31 19:03:04, 3] auth/auth.c:check_ntlm_password(220) check_ntlm_password: Checking password for unmapped user []\[ro...@[__ffff_127.0.0.1] with the new password interface [2009/01/31 19:03:04, 3] auth/auth.c:check_ntlm_password(223) check_ntlm_password: mapped user is: [mykerinos]\[ro...@[__ffff_127.0.0.1] [2009/01/31 19:03:04, 3] smbd/sec_ctx.c:push_sec_ctx(224) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2009/01/31 19:03:04, 3] smbd/uid.c:push_conn_ctx(357) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2009/01/31 19:03:04, 3] smbd/sec_ctx.c:set_sec_ctx(324) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2009/01/31 19:03:04, 3] smbd/sec_ctx.c:pop_sec_ctx(432) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/01/31 19:03:04, 3] auth/auth_sam.c:check_sam_security(282) check_sam_security: Couldn't find user 'root' in passdb. [2009/01/31 19:03:04, 2] auth/auth.c:check_ntlm_password(318) check_ntlm_password: Authentication for user [root] -> [root] FAILED with error NT_STATUS_NO_SUCH_USER [2009/01/31 19:03:04, 3] smbd/error.c:error_packet_set(61) error packet at smbd/sesssetup.c(1725) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE So, I *confirm* that this bug still exists in 3.2.5. "-o guest" does *not* connect anonymously to the mounted share. --
signature.asc
Description: Digital signature

