[Samba] Samba & Vista

Steve Blackwell zephod at cfl.rr.com
Sat Aug 2 14:56:15 GMT 2008


> I'm trying to use smbclient to look at a Vista box but I keep getting:
> 
> # smbclient -L user-pc -U Kellie
> Password: <Kellie's password>
> session setup failed: NT_STATUS_LOGON_FAILURE
>
> Below I've put the output of 
> # smbclient -L user-pc -U Kellie -d4
> 
> It is connecting to the correct machine but there is a user
> authentication problem. The bit that says 
>
> Password: 
> Doing spnego session setup (blob length=46)
> got OID=1 3 6 1 4 1 311 2 2 10
> got principal=<null>

I bumped the debug level up to 10 and now I'm fairly sure that this is
the problem area. 

Password: 
Doing spnego session setup (blob length=46)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=<null>
write_socket(5,166)
write_socket(5,166) wrote 166
got smb length of 378
size=378
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=13966
smb_uid=2048
smb_mid=2
smt_wct=4
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  378 (0x17A)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=  189 (0xBD)
smb_bcc=335

This shows an smb_err=49152 and I'm guessing that the problem is the
"got principal=<null>" line. But I have no idea what this means. I
suppose my next step is to start digging through the code. 
Do the developers monitor this list?

Steve.


More information about the samba mailing list