[Samba] check_ntlm_password: Authentication for...

Mario Ohnewald
Mon, 11 Oct 2004 19:31:23 -0000

Hello List!

I am running Debian stable with a 2.4.27 kernel, samba 3.0.7 and
OpenLDAP 2.2.17.

I am running samba and slapd like this in two screens:
  /usr/local/samba/sbin/smbd -F -i -d 3 -S -s /etc/samba/smb.conf
  /usr/local/libexec/slapd -d 9 -f /usr/local/etc/openldap/slapd.conf -s
9

And when i try to access (\\192.168.1.252) my samba server from a win2k
host, smb logs the following stuff below and then crashes:

----- SNIP ------

check_sam_security: Couldn't find user 'testuser' in passdb file.
check_ntlm_password:  Authentication for user [testuser] -> [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER
Transaction 3 of length 228
switch message SMBsesssetupX (pid 2710) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 59
Got NTLMSSP neg_flags=0xe208b297
Transaction 4 of length 324
switch message SMBsesssetupX (pid 2710) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24
len2=24
check_ntlm_password:  Checking password for unmapped user
[VMWARE]\[testuser]@[VMWARE] with the new password interface
check_ntlm_password:  mapped user is: [FILESERVER]\[testuser]@[VMWARE]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_sam_security: Couldn't find user 'testuser' in passdb file.
check_ntlm_password:  Authentication for user [testuser] -> [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER
Transaction 5 of length 228
switch message SMBsesssetupX (pid 2710) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 59
Got NTLMSSP neg_flags=0xe208b297
Transaction 6 of length 324
switch message SMBsesssetupX (pid 2710) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24
len2=24
check_ntlm_password:  Checking password for unmapped user
[VMWARE][testuser]@[VMWARE] with the new password interface
check_ntlm_password:  mapped user is: [FILESERVER][testuser]@[VMWARE]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_sam_security: Couldn't find user 'testuser' in passdb file.
check_ntlm_password:  Authentication for user [testuser] -> [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER
timeout_processing: End of file from client (client has disconnected).
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Closing connections
Yielding connection to
Server exit (normal exit)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Closing connections
Yielding connection to
yield_connection: tdb_delete for name  failed with error Record does not
exist.
Server exit (Caught TERM signal)

----- SNIP ------



Has anyone an idea what i am doing wrong? Or what causes the error?
Do you need more log output?

Thanks, Mario