[Samba] Samba and trusted domains

Michael Gasch gasch at eva.mpg.de
Tue Jun 27 07:32:01 GMT 2006


i guess this is your problem

 > User test1 does not exist, trying to add it

what does id <username> for a trusted domain user give you?
probably you have to do TRUSTDOMAIN\\username

greez

Nir Barkan wrote:
> Hi All,
> 
>  
> 
> I installed samba 3.0.22 and join it to Win2003 AD domain.
> 
> Users from my domain can access the samba shares successfully.
> 
> My problem is that users from trusted domains can not access to my samba
> shares
> 
> Wbinfo -m - show all the trusted domains
> 
> Wbinfo -u - show all the users include the trusted domains users.
> 
>  
> 
> Any Idea?
> 
>  
> 
> My smb.conf global parameters:
> 
>  
> 
> # Global parameters
> 
> [global]
> 
>       allow trusted domains = yes
> 
>       netbios name = tiger
> 
>       realm = ITGIL.COM
> 
>       security = ADS
> 
>       encrypt passwords = yes
> 
>       wins server = 172.18.1.126
> 
>       workgroup = ITGIL
> 
>       debug level = 3
> 
>       idmap uid = 10000-20000
> 
>       idmap gid = 10000-20000
> 
>       winbind separator = \
> 
>       winbind enum users = yes 
> 
>       winbind enum groups = yes 
> 
>       winbind use default domain = Yes
> 
>       winbind trusted domains only = Yes
> 
>       browsable = yes
> 
>       guest ok = yes
> 
>  
> 
> The log.smbd:
> 
>  
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:check_reload(1428)
> 
>   Printcap cache time expired.
> 
> [2006/06/26 08:29:18, 3] printing/pcap.c:pcap_cache_reload(117)
> 
>   reloading printcap cache
> 
> [2006/06/26 08:29:18, 3] printing/print_svid.c:sysv_cache_reload(72)
> 
>   No Printers found!!!
> 
> [2006/06/26 08:29:18, 3] printing/pcap.c:pcap_cache_reload(223)
> 
>   reload status: error
> 
> [2006/06/26 08:29:18, 3] printing/pcap.c:pcap_cache_reload(117)
> 
>   reloading printcap cache
> 
> [2006/06/26 08:29:18, 3] printing/print_svid.c:sysv_cache_reload(72)
> 
>   No Printers found!!!
> 
> [2006/06/26 08:29:18, 3] printing/pcap.c:pcap_cache_reload(223)
> 
>   reload status: error
> 
> [2006/06/26 08:29:18, 3] smbd/oplock.c:init_oplocks(871)
> 
>   open_oplock_ipc: initializing messages.
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 0 of length 137
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBnegprot (pid 14477) conn 0x0
> 
> [2006/06/26 08:29:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [PC NETWORK PROGRAM 1.0]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN1.0]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [Windows for Workgroups 3.1a]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LM1.2X002]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN2.1]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [NT LM 0.12]
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_nt1(357)
> 
>   using SPNEGO
> 
> [2006/06/26 08:29:18, 3] smbd/negprot.c:reply_negprot(579)
> 
>   Selected protocol NT LM 0.12
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 1 of length 240
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14477) conn 0x0
> 
> [2006/06/26 08:29:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:18, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_spnego_negotiate(525)
> 
>   Got OID 1 3 6 1 4 1 311 2 2 10
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_spnego_negotiate(528)
> 
>   Got secblob of size 40
> 
> [2006/06/26 08:29:18, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
> 
>   Got NTLMSSP neg_flags=0xe2088297
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 2 of length 368
> 
> [2006/06/26 08:29:18, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14477) conn 0x0
> 
> [2006/06/26 08:29:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:18, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:18, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(662)
> 
>   Got user=[test1] domain=[EUROPE] workstation=[IL-EX-TEST2] len1=24 len2=24
> 
> [2006/06/26 08:29:18, 3] auth/auth.c:check_ntlm_password(219)
> 
>   check_ntlm_password:  Checking password for unmapped user
> [EUROPE]\[test1]@[IL-EX-TEST2] with the new password interface
> 
> [2006/06/26 08:29:18, 3] auth/auth.c:check_ntlm_password(222)
> 
>   check_ntlm_password:  mapped user is: [EUROPE]\[test1]@[IL-EX-TEST2]
> 
> [2006/06/26 08:29:18, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> 
>   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:18, 3] smbd/uid.c:push_conn_ctx(393)
> 
>   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> 
>   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] auth/auth_util.c:make_server_info_info3(1282)
> 
>   User test1 does not exist, trying to add it
> 
> [2006/06/26 08:29:19, 0] auth/auth_util.c:make_server_info_info3(1297)
> 
>   make_server_info_info3: pdb_init_sam failed!
> 
> [2006/06/26 08:29:19, 2] auth/auth.c:check_ntlm_password(317)
> 
>   check_ntlm_password:  Authentication for user [test1] -> [test1] FAILED
> with error NT_STATUS_NO_SUCH_USER
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:timeout_processing(1447)
> 
>   timeout_processing: End of file from client (client has disconnected).
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 2] smbd/server.c:exit_server(614)
> 
>   Closing connections
> 
> [2006/06/26 08:29:19, 3] smbd/connection.c:yield_connection(69)
> 
>   Yielding connection to
> 
> [2006/06/26 08:29:19, 3] smbd/server.c:exit_server(655)
> 
>   Server exit (normal exit)
> 
> [2006/06/26 08:29:19, 3] smbd/oplock.c:init_oplocks(871)
> 
>   open_oplock_ipc: initializing messages.
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 0 of length 137
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBnegprot (pid 14478) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [PC NETWORK PROGRAM 1.0]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN1.0]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [Windows for Workgroups 3.1a]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LM1.2X002]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN2.1]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [NT LM 0.12]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_nt1(357)
> 
>   using SPNEGO
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(579)
> 
>   Selected protocol NT LM 0.12
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 1 of length 240
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14478) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(525)
> 
>   Got OID 1 3 6 1 4 1 311 2 2 10
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(528)
> 
>   Got secblob of size 40
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
> 
>   Got NTLMSSP neg_flags=0xe2088297
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 2 of length 368
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14478) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(662)
> 
>   Got user=[test1] domain=[EUROPE] workstation=[IL-EX-TEST2] len1=24 len2=24
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(219)
> 
>   check_ntlm_password:  Checking password for unmapped user
> [EUROPE]\[test1]@[IL-EX-TEST2] with the new password interface
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(222)
> 
>   check_ntlm_password:  mapped user is: [EUROPE]\[test1]@[IL-EX-TEST2]
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> 
>   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/uid.c:push_conn_ctx(393)
> 
>   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> 
>   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] auth/auth_util.c:make_server_info_info3(1282)
> 
>   User test1 does not exist, trying to add it
> 
> [2006/06/26 08:29:19, 0] auth/auth_util.c:make_server_info_info3(1297)
> 
>   make_server_info_info3: pdb_init_sam failed!
> 
> [2006/06/26 08:29:19, 2] auth/auth.c:check_ntlm_password(317)
> 
>   check_ntlm_password:  Authentication for user [test1] -> [test1] FAILED
> with error NT_STATUS_NO_SUCH_USER
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 3 of length 240
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14478) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(525)
> 
>   Got OID 1 3 6 1 4 1 311 2 2 10
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(528)
> 
>   Got secblob of size 40
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
> 
>   Got NTLMSSP neg_flags=0xe2088297
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 4 of length 368
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14478) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(662)
> 
>   Got user=[test1] domain=[EUROPE] workstation=[IL-EX-TEST2] len1=24 len2=24
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(219)
> 
>   check_ntlm_password:  Checking password for unmapped user
> [EUROPE]\[test1]@[IL-EX-TEST2] with the new password interface
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(222)
> 
>   check_ntlm_password:  mapped user is: [EUROPE]\[test1]@[IL-EX-TEST2]
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> 
>   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/uid.c:push_conn_ctx(393)
> 
>   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> 
>   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] auth/auth_util.c:make_server_info_info3(1282)
> 
>   User test1 does not exist, trying to add it
> 
> [2006/06/26 08:29:19, 0] auth/auth_util.c:make_server_info_info3(1297)
> 
>   make_server_info_info3: pdb_init_sam failed!
> 
> [2006/06/26 08:29:19, 2] auth/auth.c:check_ntlm_password(317)
> 
>   check_ntlm_password:  Authentication for user [test1] -> [test1] FAILED
> with error NT_STATUS_NO_SUCH_USER
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:timeout_processing(1447)
> 
>   timeout_processing: End of file from client (client has disconnected).
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 2] smbd/server.c:exit_server(614)
> 
>   Closing connections
> 
> [2006/06/26 08:29:19, 3] smbd/connection.c:yield_connection(69)
> 
>   Yielding connection to
> 
> [2006/06/26 08:29:19, 3] smbd/server.c:exit_server(655)
> 
>   Server exit (normal exit)
> 
> [2006/06/26 08:29:19, 3] smbd/oplock.c:init_oplocks(871)
> 
>   open_oplock_ipc: initializing messages.
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 0 of length 137
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBnegprot (pid 14479) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [PC NETWORK PROGRAM 1.0]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN1.0]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [Windows for Workgroups 3.1a]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LM1.2X002]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [LANMAN2.1]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(486)
> 
>   Requested protocol [NT LM 0.12]
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_nt1(357)
> 
>   using SPNEGO
> 
> [2006/06/26 08:29:19, 3] smbd/negprot.c:reply_negprot(579)
> 
>   Selected protocol NT LM 0.12
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 1 of length 240
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14479) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(525)
> 
>   Got OID 1 3 6 1 4 1 311 2 2 10
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_spnego_negotiate(528)
> 
>   Got secblob of size 40
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
> 
>   Got NTLMSSP neg_flags=0xe2088297
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 2 of length 368
> 
> [2006/06/26 08:29:19, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14479) conn 0x0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:19, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:19, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:19, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(662)
> 
>   Got user=[test1] domain=[EUROPE] workstation=[IL-EX-TEST2] len1=24 len2=24
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(219)
> 
>   check_ntlm_password:  Checking password for unmapped user
> [EUROPE]\[test1]@[IL-EX-TEST2] with the new password interface
> 
> [2006/06/26 08:29:19, 3] auth/auth.c:check_ntlm_password(222)
> 
>   check_ntlm_password:  mapped user is: [EUROPE]\[test1]@[IL-EX-TEST2]
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> 
>   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:19, 3] smbd/uid.c:push_conn_ctx(393)
> 
>   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:19, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> 
>   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 3] auth/auth_util.c:make_server_info_info3(1282)
> 
>   User test1 does not exist, trying to add it
> 
> [2006/06/26 08:29:20, 0] auth/auth_util.c:make_server_info_info3(1297)
> 
>   make_server_info_info3: pdb_init_sam failed!
> 
> [2006/06/26 08:29:20, 2] auth/auth.c:check_ntlm_password(317)
> 
>   check_ntlm_password:  Authentication for user [test1] -> [test1] FAILED
> with error NT_STATUS_NO_SUCH_USER
> 
> [2006/06/26 08:29:20, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 3 of length 240
> 
> [2006/06/26 08:29:20, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14479) conn 0x0
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:20, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_spnego_negotiate(525)
> 
>   Got OID 1 3 6 1 4 1 311 2 2 10
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_spnego_negotiate(528)
> 
>   Got secblob of size 40
> 
> [2006/06/26 08:29:20, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
> 
>   Got NTLMSSP neg_flags=0xe2088297
> 
> [2006/06/26 08:29:20, 3] smbd/process.c:process_smb(1194)
> 
>   Transaction 4 of length 368
> 
> [2006/06/26 08:29:20, 3] smbd/process.c:switch_message(993)
> 
>   switch message SMBsesssetupX (pid 14479) conn 0x0
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X(822)
> 
>   wct=12 flg2=0xc807
> 
> [2006/06/26 08:29:20, 2] smbd/sesssetup.c:setup_new_vc_session(772)
> 
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources.
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(633)
> 
>   Doing spnego session setup
> 
> [2006/06/26 08:29:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(664)
> 
>   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> 
> [2006/06/26 08:29:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(662)
> 
>   Got user=[test1] domain=[EUROPE] workstation=[IL-EX-TEST2] len1=24 len2=24
> 
> [2006/06/26 08:29:20, 3] auth/auth.c:check_ntlm_password(219)
> 
>   check_ntlm_password:  Checking password for unmapped user
> [EUROPE]\[test1]@[IL-EX-TEST2] with the new password interface
> 
> [2006/06/26 08:29:20, 3] auth/auth.c:check_ntlm_password(222)
> 
>   check_ntlm_password:  mapped user is: [EUROPE]\[test1]@[IL-EX-TEST2]
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> 
>   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:20, 3] smbd/uid.c:push_conn_ctx(393)
> 
>   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> 
>   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 3] auth/auth_util.c:make_server_info_info3(1282)
> 
>   User test1 does not exist, trying to add it
> 
> [2006/06/26 08:29:20, 0] auth/auth_util.c:make_server_info_info3(1297)
> 
>   make_server_info_info3: pdb_init_sam failed!
> 
> [2006/06/26 08:29:20, 2] auth/auth.c:check_ntlm_password(317)
> 
>   check_ntlm_password:  Authentication for user [test1] -> [test1] FAILED
> with error NT_STATUS_NO_SUCH_USER
> 
> [2006/06/26 08:29:20, 3] smbd/process.c:timeout_processing(1447)
> 
>   timeout_processing: End of file from client (client has disconnected).
> 
> [2006/06/26 08:29:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> 
>   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> 
> [2006/06/26 08:29:20, 2] smbd/server.c:exit_server(614)
> 
>   Closing connections
> 
> [2006/06/26 08:29:20, 3] smbd/connection.c:yield_connection(69)
> 
>   Yielding connection to
> 
> [2006/06/26 08:29:20, 3] smbd/server.c:exit_server(655)
> 
>   Server exit (normal exit)
> 
>  
> 
>  
> 
> Thanks In Advanced!
> 
>  
> 
> Nir.
> 

-- 
Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Department of Human Evolution (IT Staff)
Deutscher Platz 6
D-04103 Leipzig
Germany

Phone: 49 (0)341 - 3550 137
        49 (0)341 - 3550 374

Fax:   49 (0)341 - 3550 399




More information about the samba mailing list