Bug 8875 - smbclient fails with NT_STATUS_LOGON_FAILURE
smbclient fails with NT_STATUS_LOGON_FAILURE
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: Client Tools
3.5.14
Sparc Solaris
: P5 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-18 12:25 UTC by rainer.herbst
Modified: 2012-04-18 12:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rainer.herbst 2012-04-18 12:25:46 UTC
Compiled samba 3.5.12 with Sun compiler, installed it to client hosts and can connect to a samba 3.5.12 server with smbclient
# > /opt/zeik/bin/smbclient -U smbfmuser%secret  //cl-nfsfbox/scmondirDomain=[ZEIK-UP] OS=[Unix] Server=[Samba 3.5.12]
smb: \> quit

Same with samba 3.5.14 - Sun Compiler, istallation
but smbclient fails 
# > /opt/zeik/bin/smbclient -U smbfmuser%secret  //cl-nfsfbox/scmondir
session setup failed: NT_STATUS_LOGON_FAILURE

With log level = 10 on server site I see with smbclient 3.5.12
<snip>
  pdb_update_autolock_flag: Account smbfmuser not autolocked, no check needed
[2012/04/18 09:35:35.486082,  4] ../libcli/auth/ntlm_check.c:399(ntlm_password_check)
  ntlm_password_check: Checking NT MD4 password
[2012/04/18 09:35:35.487265,  4] auth/auth_sam.c:180(sam_account_ok)
  sam_account_ok: Checking SMB password for user smbfmuser
[2012/04/18 09:35:35.487580,  5] auth/auth_sam.c:161(logon_hours_ok)
  logon_hours_ok: user smbfmuser allowed to logon at this time (Wed Apr 18 07:35:35 2012
  )
<snip>

and with smbclient 3.5.14

<snip>
[2012/04/18 09:14:02.237904,  9] passdb/passdb.c:2181(pdb_update_autolock_flag)
  pdb_update_autolock_flag: Account smbfmuser not autolocked, no check needed
[2012/04/18 09:14:02.238155,  4] ../libcli/auth/ntlm_check.c:399(ntlm_password_check)
  ntlm_password_check: Checking NT MD4 password
[2012/04/18 09:14:02.239302,  3] ../libcli/auth/ntlm_check.c:412(ntlm_password_check)
  ntlm_password_check: NT MD4 password check failed for user smbfmuser
[2012/04/18 09:14:02.239548,  3] smbd/sec_ctx.c:209(push_sec_ctx)
<snip>

Not sure if it works witch 3.5.13, but may check this, too.