Richard Lamboj
2009-Nov-06 13:42 UTC
[Samba] error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002
Hello, so for the first time: i have forgotten the log rotation(self compiled system services), so i will send a detailed log output again when the error occurs the next time. The error occurs on a Domain Member Server. I have used the Winbind Sample from the Samba Homepage(later i will switch to the ldap sample). It works for some Time and then no one can login to the Server. The Commands "wbinfo -u" and "geten passwd" works and shows all the users - but a login is not possible. Information about the Samba Versions: - Samba PDC(3.2.15) - Samba Domain Member(3.4.3) <- upgrade from 3.2.15 to 3.4.3(both versions have the same problem) After a Samba Restart everything works(anyone can login to the server) - for a Time. The Errors(I know some importants parts are missing - logrotation forgotten - shame on me): ... NTLM CRAP authentication for user [MITARBEITER]\[r.lamboj] returned NT code 0x1c010002 (PAM: 4) ...ser [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002 ... Can someone tell me what this means: "pam auth crap domain"? Why crap? Configuration: ... allow trusted domains = yes #idmap cache time = 3600 #winbind cache time = 3600 winbind cache time = 86400 idmap cache time = 86400 winbind separator = + idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes winbind offline logon = No winbind trusted domains only = Yes idmap backend = tdb ... best wishes
Richard Lamboj
2009-Nov-09 13:29 UTC
[Samba] error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002
Hello, can some one tell me - is it a bug, or have i made a mistake? Here is the Error Log: [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 4 of length 342 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31186) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:745(ntlmssp_server_auth) Got user=[r.lamboj] domain=[MITARBEITER] workstation=[HP1] len1=24 len2=24 [2009/11/09 13:09:18, 3] auth/auth.c:222(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [MITARBEITER]\[r.lamboj]@[HP1] with the new password interface [2009/11/09 13:09:18, 3] auth/auth.c:225(check_ntlm_password) check_ntlm_password: mapped user is: [MITARBEITER]\[r.lamboj]@[HP1] [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/uid.c:428(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/error.c:60(error_packet_set) error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2009/11/09 13:09:18, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) [2009/11/09 13:09:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Der Socket ist nicht verbunden [2009/11/09 13:09:18, 3] smbd/oplock.c:911(init_oplocks) init_oplocks: initializing messages. [2009/11/09 13:09:18, 3] smbd/oplock_linux.c:223(linux_init_kernel_oplocks) Linux kernel oplocks enabled [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 0 of length 72 (0 toread) [2009/11/09 13:09:18, 2] smbd/reply.c:451(reply_special) netbios connect: name1=SERVER-B10-DFS name2=HP1 [2009/11/09 13:09:18, 2] smbd/reply.c:458(reply_special) netbios connect: local=server-b10-dfs remote=hp1, name type = 0 [2009/11/09 13:09:18, 0] lib/util_sock.c:738(write_data) [2009/11/09 13:09:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Der Socket ist nicht verbunden write_data: write failure in writing to client 0.0.0.0. Error Die Verbindung wurde vom Kommunikationspartner zur?ckgesetzt [2009/11/09 13:09:18, 0] smbd/process.c:62(srv_send_smb) Error writing 4 bytes to client. -1. (Der Socket ist nicht verbunden) [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2009/11/09 13:09:18, 3] smbd/connection.c:42(yield_connection) deleting connection record returned NT_STATUS_NOT_FOUND [2009/11/09 13:09:18, 3] smbd/oplock.c:911(init_oplocks) init_oplocks: initializing messages. [2009/11/09 13:09:18, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) [2009/11/09 13:09:18, 3] smbd/oplock_linux.c:223(linux_init_kernel_oplocks) Linux kernel oplocks enabled [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 0 of length 137 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBnegprot (pid 31188) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [PC NETWORK PROGRAM 1.0] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LANMAN1.0] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [Windows for Workgroups 3.1a] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LM1.2X002] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LANMAN2.1] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [NT LM 0.12] [2009/11/09 13:09:18, 3] smbd/negprot.c:387(reply_nt1) using SPNEGO [2009/11/09 13:09:18, 3] smbd/negprot.c:672(reply_negprot) Selected protocol NT LM 0.12 [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 1 of length 240 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31188) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] smbd/sesssetup.c:786(reply_spnego_negotiate) reply_spnego_negotiate: Got secblob of size 40 [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:62(debug_ntlmssp_flags) Got NTLMSSP neg_flags=0xa2088207 [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 2 of length 342 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31188) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:745(ntlmssp_server_auth) Got user=[r.lamboj] domain=[MITARBEITER] workstation=[HP1] len1=24 len2=24 [2009/11/09 13:09:18, 3] auth/auth.c:222(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [MITARBEITER]\[r.lamboj]@[HP1] with the new password interface [2009/11/09 13:09:18, 3] auth/auth.c:225(check_ntlm_password) check_ntlm_password: mapped user is: [MITARBEITER]\[r.lamboj]@[HP1] [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/uid.c:428(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/error.c:60(error_packet_set) error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 3 of length 240 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31188) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] smbd/sesssetup.c:786(reply_spnego_negotiate) reply_spnego_negotiate: Got secblob of size 40 [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:62(debug_ntlmssp_flags) Got NTLMSSP neg_flags=0xa2088207 [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 4 of length 342 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31188) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:745(ntlmssp_server_auth) Got user=[r.lamboj] domain=[MITARBEITER] workstation=[HP1] len1=24 len2=24 [2009/11/09 13:09:18, 3] auth/auth.c:222(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [MITARBEITER]\[r.lamboj]@[HP1] with the new password interface [2009/11/09 13:09:18, 3] auth/auth.c:225(check_ntlm_password) check_ntlm_password: mapped user is: [MITARBEITER]\[r.lamboj]@[HP1] [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/uid.c:428(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/error.c:60(error_packet_set) error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2009/11/09 13:09:18, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) [2009/11/09 13:09:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Der Socket ist nicht verbunden [2009/11/09 13:09:18, 3] smbd/oplock.c:911(init_oplocks) init_oplocks: initializing messages. [2009/11/09 13:09:18, 3] smbd/oplock_linux.c:223(linux_init_kernel_oplocks) Linux kernel oplocks enabled [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 0 of length 72 (0 toread) [2009/11/09 13:09:18, 2] smbd/reply.c:451(reply_special) netbios connect: name1=SERVER-B10-DFS name2=HP1 [2009/11/09 13:09:18, 2] smbd/reply.c:458(reply_special) netbios connect: local=server-b10-dfs remote=hp1, name type = 0 [2009/11/09 13:09:18, 0] lib/util_sock.c:738(write_data) [2009/11/09 13:09:18, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Der Socket ist nicht verbunden write_data: write failure in writing to client 0.0.0.0. Error Die Verbindung wurde vom Kommunikationspartner zur?ckgesetzt [2009/11/09 13:09:18, 0] smbd/process.c:62(srv_send_smb) Error writing 4 bytes to client. -1. (Der Socket ist nicht verbunden) [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/connection.c:31(yield_connection) [2009/11/09 13:09:18, 3] smbd/oplock.c:911(init_oplocks) Yielding connection to init_oplocks: initializing messages. [2009/11/09 13:09:18, 3] smbd/connection.c:42(yield_connection) deleting connection record returned NT_STATUS_NOT_FOUND [2009/11/09 13:09:18, 3] smbd/oplock_linux.c:223(linux_init_kernel_oplocks) Linux kernel oplocks enabled [2009/11/09 13:09:18, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 0 of length 137 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBnegprot (pid 31190) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [PC NETWORK PROGRAM 1.0] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LANMAN1.0] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [Windows for Workgroups 3.1a] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LM1.2X002] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [LANMAN2.1] [2009/11/09 13:09:18, 3] smbd/negprot.c:567(reply_negprot) Requested protocol [NT LM 0.12] [2009/11/09 13:09:18, 3] smbd/negprot.c:387(reply_nt1) using SPNEGO [2009/11/09 13:09:18, 3] smbd/negprot.c:672(reply_negprot) Selected protocol NT LM 0.12 [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 1 of length 240 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31190) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] smbd/sesssetup.c:786(reply_spnego_negotiate) reply_spnego_negotiate: Got secblob of size 40 [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:62(debug_ntlmssp_flags) [2009/11/09 13:09:18, 3] smbd/process.c:1459(process_smb) Transaction 2 of length 342 (0 toread) [2009/11/09 13:09:18, 3] smbd/process.c:1273(switch_message) switch message SMBsesssetupX (pid 31190) conn 0x0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1404(reply_sesssetup_and_X) wct=12 flg2=0xc807 [2009/11/09 13:09:18, 2] smbd/sesssetup.c:1360(setup_new_vc_session) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1160(reply_sesssetup_and_X_spnego) Doing spnego session setup [2009/11/09 13:09:18, 3] smbd/sesssetup.c:1202(reply_sesssetup_and_X_spnego) NativeOS=[Windows 2002 Service Pack 3 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2009/11/09 13:09:18, 3] libsmb/ntlmssp.c:745(ntlmssp_server_auth) Got user=[r.lamboj] domain=[MITARBEITER] workstation=[HP1] len1=24 len2=24 [2009/11/09 13:09:18, 3] auth/auth.c:222(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [MITARBEITER]\[r.lamboj]@[HP1] with the new password interface [2009/11/09 13:09:18, 3] auth/auth.c:225(check_ntlm_password) check_ntlm_password: mapped user is: [MITARBEITER]\[r.lamboj]@[HP1] [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/uid.c:428(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 2] auth/auth.c:320(check_ntlm_password) check_ntlm_password: Authentication for user [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/error.c:60(error_packet_set) error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code 0x1c010002 [2009/11/09 13:09:18, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2009/11/09 13:09:18, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2009/11/09 13:09:18, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) Am Friday 06 November 2009 14:42:36 schrieb Richard Lamboj:> Hello, > > so for the first time: i have forgotten the log rotation(self compiled > system services), so i will send a detailed log output again when the error > occurs the next time. > > The error occurs on a Domain Member Server. I have used the Winbind Sample > from the Samba Homepage(later i will switch to the ldap sample). It works > for some Time and then no one can login to the Server. The Commands "wbinfo > -u" and "geten passwd" works and shows all the users - but a login is not > possible. > > Information about the Samba Versions: > - Samba PDC(3.2.15) > - Samba Domain Member(3.4.3) <- upgrade from 3.2.15 to 3.4.3(both versions > have the same problem) > > After a Samba Restart everything works(anyone can login to the server) - > for a Time. > > The Errors(I know some importants parts are missing - logrotation forgotten > - shame on me): > > ... > > NTLM CRAP authentication for user [MITARBEITER]\[r.lamboj] returned NT code > 0x1c010002 (PAM: 4) > > ...ser [r.lamboj] -> [r.lamboj] FAILED with error NT code 0x1c010002 > > error packet at smbd/sesssetup.c(122) cmd=115 (SMBsesssetupX) NT code > 0x1c010002 > > ... > > Can someone tell me what this means: "pam auth crap domain"? Why crap? > > Configuration: > > ... > > allow trusted domains = yes > > #idmap cache time = 3600 > #winbind cache time = 3600 > winbind cache time = 86400 > idmap cache time = 86400 > > winbind separator = + > idmap uid = 10000-20000 > idmap gid = 10000-20000 > winbind enum users = yes > winbind enum groups = yes > winbind offline logon = No > winbind trusted domains only = Yes > idmap backend = tdb > > ... > > best wishes