Dan Wong
2007-Nov-07 02:36 UTC
[Samba] weird smbclient authentication problem NT_STATUS_LOGON_FAILURE
I've installed samba 3.0.25c and did a net ads join successfully to Windows 2003 PDC. wbinfo -u list all users in windows domain correctly. I've disabled winbind enum user/groups because wbinfo -u would time out due to large number of users/groups. when I execute smbclient -L localhost -U testuser on the local samba server I get NT_STATUS_LOGON_FAILURE I am absolutely sure that the password is correct. On the Windows Domain Controller, in the event logs under security, I saw a successful logon entry for testuser. this event was right after I executed smbclient command. I was actually expecting to see two succesfull logon events (samba tries twice I believe). I have log level =10 auth:10 the last trace in the log file was: libsmb/ntlmssp.c:ntlmssp_server_auth(739) Got user=[testuser] domain=[D1] workstation=[WS1] len1=24 len2=96 There were no traces of make_user_info_map and check_ntlm_password.
Dan Wong
2007-Nov-11 04:07 UTC
[Samba] Re: weird smbclient authentication problem NT_STATUS_LOGON_FAILURE
never mind. didn't receive all log files. the traces were scattered to different log files due to log file being defined with %m macro. On Nov 6, 2007 9:36 PM, Dan Wong <dw6881pr@gmail.com> wrote:> I've installed samba 3.0.25c and did a net ads join successfully to > Windows 2003 PDC. > wbinfo -u list all users in windows domain correctly. > > I've disabled winbind enum user/groups because wbinfo -u would time > out due to large number of users/groups. > > when I execute smbclient -L localhost -U testuser on the local samba > server I get NT_STATUS_LOGON_FAILURE > > I am absolutely sure that the password is correct. > > On the Windows Domain Controller, in the event logs under security, I > saw a successful logon entry for testuser. > this event was right after I executed smbclient command. > > I was actually expecting to see two succesfull logon events (samba > tries twice I believe). > > I have log level =10 auth:10 > > the last trace in the log file was: > libsmb/ntlmssp.c:ntlmssp_server_auth(739) > Got user=[testuser] domain=[D1] workstation=[WS1] len1=24 len2=96 > > There were no traces of make_user_info_map and check_ntlm_password. >