Rene Kapeller
2006-Jan-26 16:49 UTC
[Samba] Cannot map guest shares in 'security = SERVER' mode on samba-3.0.9
================== platform ==================== Linux version: RHEL-3 resp. Scientific Linux 305 Samba vesrion: 3.0.9-1.3E.3 Samba operating mode: security = SERVER ================== problem ==================== 'net use n: \\smbs1\public' on Windows XP, always asks for a password. 'smbmount //smbs1/public /mnt/public -o password=' does not. This all used to work fine under Redhat-9 and Samba-2.2 ================== smb.conf ==================== [global] workgroup = MSDOM netbios name = SMBS1 interfaces = XXX.XXX.XXX.XXX/255.255.255.0, 127.0.0.1 bind interfaces only = Yes security = SERVER map to guest = Bad User password server = pdc1.XXX.XXX guest account = guest log level = 3 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 load printers = No local master = No domain master = No dns proxy = No wins server = wins00.XXX.XXX [public] comment = Public share path = /export/public guest ok = Yes hosts allow = XXX.XXX., 127.0.0.1 ======== also tested, but no success ============ #null passwords = yes #max protocol = LANMAN1 #client use spnego = no ================== log when Windows XP tries =================== [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 1 of length 137 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBnegprot (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [PC NETWORK PROGRAM 1.0] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [LANMAN1.0] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [Windows for Workgroups 3.1a] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [LM1.2X002] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [LANMAN2.1] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [NT LM 0.12] [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_nt1(333) using SPNEGO [2006/01/25 09:48:14, 3] smbd/negprot.c:reply_negprot(549) Selected protocol NT LM 0.12 [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 2 of length 240 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=12 flg2=0xc807 [2006/01/25 09:48:14, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535) Doing spnego session setup [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(444) Got OID 1 3 6 1 4 1 311 2 2 10 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(447) Got secblob of size 40 [2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0xe2088297 [2006/01/25 09:48:14, 3] lib/util_sock.c:open_socket_out(752) Connecting to XXX.XXX.230.102 at port 445 [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(75) connected to password server D.XXX.CH [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(100) got session [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(133) password server OK [2006/01/25 09:48:14, 3] auth/auth_server.c:auth_get_challenge_server(183) using password server validation [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 3 of length 274 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=12 flg2=0xc807 [2006/01/25 09:48:14, 2] smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535) Doing spnego session setup [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615) Got user=[] domain=[] workstation=[PC3247] len1=1 len2=0 [2006/01/25 09:48:14, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user []\[]@[PC3247] with the new password interface [2006/01/25 09:48:14, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [XXXCH]\[]@[PC3247] [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] auth/auth.c:check_ntlm_password(268) check_ntlm_password: guest authentication for user [] succeeded [2006/01/25 09:48:14, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319) NTLMSSP Sign/Seal - Initialising with flags: [2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60008295 [2006/01/25 09:48:14, 3] smbd/password.c:register_vuid(222) User name: guest Real name: guest [2006/01/25 09:48:14, 3] smbd/password.c:register_vuid(241) UNIX uid 581 is UNIX user guest, and will be vuid 100 [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 4 of length 84 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBtconX (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/service.c:make_connection_snum(472) Connect path is '/tmp' for service [IPC$] [2006/01/25 09:48:14, 3] lib/util_seaccess.c:se_access_check(251) [2006/01/25 09:48:14, 3] lib/util_seaccess.c:se_access_check(252) se_access_check: user sid is S-1-5-21-1882795034-4216958142-3875946936-501 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-2163 [2006/01/25 09:48:14, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2006/01/25 09:48:14, 3] lib/util_seaccess.c:se_access_check(251) [2006/01/25 09:48:14, 3] lib/util_seaccess.c:se_access_check(252) se_access_check: user sid is S-1-5-21-1882795034-4216958142-3875946936-501 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-2163 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (581, 581) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/service.c:make_connection_snum(648) pc3247 (XXX.XXX.XXX.78) connect to service IPC$ initially as user guest (uid=581, gid=581) (pid 770) [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/reply.c:reply_tcon_and_X(456) tconX service=IPC$ [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 5 of length 240 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=12 flg2=0xc807 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535) Doing spnego session setup [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(444) Got OID 1 3 6 1 4 1 311 2 2 10 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(447) Got secblob of size 40 [2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0xe2088297 [2006/01/25 09:48:14, 3] lib/util_sock.c:open_socket_out(752) Connecting to XXX.XXX.230.102 at port 445 [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(75) connected to password server D.XXX.CH [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(100) got session [2006/01/25 09:48:14, 3] auth/auth_server.c:server_cryptkey(133) password server OK [2006/01/25 09:48:14, 3] auth/auth_server.c:auth_get_challenge_server(183) using password server validation [2006/01/25 09:48:14, 3] smbd/process.c:process_smb(1091) Transaction 6 of length 352 [2006/01/25 09:48:14, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 770) conn 0x0 [2006/01/25 09:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=12 flg2=0xc807 [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535) Doing spnego session setup [2006/01/25 09:48:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2006/01/25 09:48:14, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615) Got user=[guest] domain=[PC3247] workstation=[PC3247] len1=24 len2=24 [2006/01/25 09:48:14, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [PC3247]\[guest]@[PC3247] with the new password interfa ce [2006/01/25 09:48:14, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [XXXCH]\[guest]@[PC3247] [2006/01/25 09:48:14, 1] auth/auth_server.c:check_smbserver_security(363) password server D.XXX.CH rejected the password [2006/01/25 09:48:14, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [guest] -> [guest] FAILED with error NT_STATUS_LOGON_FAILURE ================== log when linux/smbmount tries ================ [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 9 of length 80 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBtrans2 (pid 8395) conn 0x959ffa8 [2006/01/25 10:11:46, 3] smbd/trans2.c:call_trans2qfilepathinfo(2346) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1 [2006/01/25 10:11:46, 3] smbd/trans2.c:call_trans2qfilepathinfo(2380) call_trans2qfilepathinfo . (fnum = -1) level=1 call=5 total_data=0 [2006/01/25 10:11:46, 3] smbd/oplock.c:init_oplocks(1302) open_oplock_ipc: opening loopback UDP socket. [2006/01/25 10:11:46, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303) Linux kernel oplocks enabled [2006/01/25 10:11:46, 3] smbd/oplock.c:init_oplocks(1333) open_oplock ipc: pid = 8698, global_oplock_port = 35964 [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 0 of length 183 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBnegprot (pid 8698) conn 0x0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [PC NETWORK PROGRAM 1.0] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [MICROSOFT NETWORKS 1.03] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [MICROSOFT NETWORKS 3.0] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [LANMAN1.0] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [LM1.2X002] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [DOS LANMAN2.1] [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(461) Requested protocol [Samba] [2006/01/25 10:11:46, 3] lib/util_sock.c:open_socket_out(752) Connecting to XXX.XXX.193.100 at port 445 [2006/01/25 10:11:46, 3] auth/auth_server.c:server_cryptkey(75) connected to password server D.XXX.CH [2006/01/25 10:11:46, 3] auth/auth_server.c:server_cryptkey(100) got session [2006/01/25 10:11:46, 3] auth/auth_server.c:server_cryptkey(133) password server OK [2006/01/25 10:11:46, 3] auth/auth_server.c:auth_get_challenge_server(183) using password server validation [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_nt1(327) not using SPNEGO [2006/01/25 10:11:46, 3] smbd/negprot.c:reply_negprot(549) Selected protocol NT LANMAN 1.0 [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 1 of length 93 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 8698) conn 0x0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=13 flg2=0x1 [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(789) Domain=[MYGROUP] NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[null] [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(804) sesssetupX:name=[MYGROUP]\[KAPELLER]@[XXX.XXX.XXX.156] [2006/01/25 10:11:46, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [MYGROUP]\[KAPELLER]@[XXX.XXX.XXX.156] with the new pas sword interface [2006/01/25 10:11:46, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [XXXCH]\[KAPELLER]@[XXX.XXX.XXX.156] [2006/01/25 10:11:46, 1] auth/auth_server.c:check_smbserver_security(363) password server D.XXX.CH rejected the password [2006/01/25 10:11:46, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [KAPELLER] -> [KAPELLER] FAILED with error NT_STATUS_LOGON_FAILURE [2006/01/25 10:11:46, 3] smbd/error.c:error_packet(145) error packet at smbd/sesssetup.c(887) cmd=115 (SMBsesssetupX) eclass=1 ecode=5 [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 2 of length 78 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBsesssetupX (pid 8698) conn 0x0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655) wct=13 flg2=0x1 [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(789) Domain=[] NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[null] [2006/01/25 10:11:46, 3] smbd/sesssetup.c:reply_sesssetup_and_X(804) sesssetupX:name=[]\[]@[XXX.XXX.XXX.156] [2006/01/25 10:11:46, 3] smbd/sesssetup.c:check_guest_password(116) Got anonymous request [2006/01/25 10:11:46, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user []\[]@[] with the new password interface [2006/01/25 10:11:46, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: []\[]@[] [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] auth/auth.c:check_ntlm_password(268) check_ntlm_password: guest authentication for user [] succeeded [2006/01/25 10:11:46, 3] smbd/password.c:register_vuid(222) User name: guest Real name: guest [2006/01/25 10:11:46, 3] smbd/password.c:register_vuid(241) UNIX uid 581 is UNIX user guest, and will be vuid 100 [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 3 of length 75 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBtconX (pid 8698) conn 0x0 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] lib/access.c:check_access(313) check_access: no hostnames in host allow/deny list. [2006/01/25 10:11:46, 2] lib/access.c:check_access(324) Allowed connection from (XXX.XXX.XXX.156) [2006/01/25 10:11:46, 3] smbd/service.c:make_connection_snum(472) Connect path is '/export/exchange/system/beamline/winconf' for service [winconfpub] [2006/01/25 10:11:46, 3] lib/util_seaccess.c:se_access_check(251) [2006/01/25 10:11:46, 3] lib/util_seaccess.c:se_access_check(252) se_access_check: user sid is S-1-5-21-1882795034-4216958142-3875946936-501 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-2163 [2006/01/25 10:11:46, 3] smbd/vfs.c:vfs_init_default(203) Initialising default vfs hooks [2006/01/25 10:11:46, 3] lib/util_seaccess.c:se_access_check(251) [2006/01/25 10:11:46, 3] lib/util_seaccess.c:se_access_check(252) se_access_check: user sid is S-1-5-21-1882795034-4216958142-3875946936-501 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-514 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-32-546 se_access_check: also S-1-5-21-1882795034-4216958142-3875946936-2163 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (581, 581) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 1] smbd/service.c:make_connection_snum(648) XXX.XXX.XXX.156 (XXX.XXX.XXX.156) connect to service winconfpub initially as user guest (uid=581, gid=581) (pid 8 698) [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] smbd/reply.c:reply_tcon_and_X(456) tconX service=WINCONFPUB [2006/01/25 10:11:46, 3] smbd/process.c:process_smb(1091) Transaction 4 of length 39 [2006/01/25 10:11:46, 3] smbd/process.c:switch_message(886) switch message SMBdskattr (pid 8698) conn 0x959ffa8 [2006/01/25 10:11:46, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (581, 581) - sec_ctx_stack_ndx = 0 [2006/01/25 10:11:46, 3] lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/import/exchange] bdev[/export/exchange] qtype[2] id[581]: Block device re quired [2006/01/25 10:11:46, 3] lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/import/exchange] bdev[/export/exchange] qtype[4] id[581]: Block device re quired [2006/01/25 10:11:46, 3] smbd/reply.c:reply_dskattr(785) dskattr dfree=22483 [2006/01/25 10:11:48, 3] smbd/process.c:process_smb(1091) Transaction 5 of length 39 [2006/01/25 10:11:48, 3] smbd/process.c:switch_message(886) switch message SMBdskattr (pid 8698) conn 0x959ffa8 [2006/01/25 10:11:48, 3] lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/import/exchange] bdev[/export/exchange] qtype[2] id[581]: Block device re quired [2006/01/25 10:11:48, 3] lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/import/exchange] bdev[/export/exchange] qtype[4] id[581]: Block device re quired [2006/01/25 10:11:48, 3] smbd/reply.c:reply_dskattr(785) ================= EOF ======================================
Rex Dieter
2006-Jan-26 17:55 UTC
[Samba] Re: Cannot map guest shares in 'security = SERVER' mode on samba-3.0.9
Rene Kapeller wrote:> ================== problem ====================> > 'net use n: \\smbs1\public' on Windows XP, always asks for a password. > > 'smbmount //smbs1/public /mnt/public -o password=' does not. > > This all used to work fine under Redhat-9 and Samba-2.2...> map to guest = Bad Userman smb.conf, read up on the options available for 'map to guest'. -- Rex