[Samba] Connecting from XP to samba shares
Ignacio Fernández Galván
jellby at yahoo.com
Tue Jan 10 10:45:53 GMT 2006
--- Ignacio Fernández Galván wrote:
> > If you run smbd with debug info turned on, what username/
> > password is the XP box connecting as? That might narrow things
> > down a bit.
>
> I'll try to get additional data.
OK, these are some of the messages I get in the log.host2 file:
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/01/10 11:37:47, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/10 11:37:47, 3] libsmb/ntlm_check.c:ntlm_password_check(455)
ntlm_password_check: LM password, NT MD4 password in LM field and
LMv2 failed for user someuser
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/01/10 11:37:47, 3] smbd/uid.c:push_conn_ctx(365)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/01/10 11:37:47, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/10 11:37:47, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [user] -> [someuser]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2006/01/10 11:37:47, 2] smbd/service.c:make_connection_snum(340)
Invalid username/password for [Compartido]
[2006/01/10 11:37:47, 3] smbd/error.c:error_packet(105)
error string = Invalid argument
[2006/01/10 11:37:47, 3] smbd/error.c:error_packet(129)
error packet at smbd/reply.c(415) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2006/01/10 11:37:56, 3] smbd/process.c:process_smb(1091)
Transaction 6 of length 39
[2006/01/10 11:37:56, 3] smbd/process.c:switch_message(886)
switch message SMBtdis (pid 13636) conn 0x83c8540
[2006/01/10 11:37:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/10 11:37:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/10 11:37:56, 3] smbd/service.c:close_cnum(830)
host2 (xxx.xxx.xxx.xxx) closed connection to service IPC$
[2006/01/10 11:37:56, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2006/01/10 11:37:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
...not that I really understand it...
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the samba
mailing list