[samba] help! connection problems, timed out?!
daniel.wilson at sunderland.ac.uk
Wed Nov 30 17:50:19 GMT 2005
We are having some problems with connecting to samba.
We have samba 3.0.14a on suse linux with LDAP enabled!
im using "smbclient -L //server -U user" to test a connection
Some times we get an instant response and other times we get "session setup failed: NT_STATUS_LOGON_FAILURE" or "NT_STATUS_UNSUCESSFUL"
I havent got a clue what's going on, sometimes it works great and then not so. Our network guys say there is nothing wrong on any network switches/network!
In the log.smbd we do have a lot of:
[2005/11/30 17:36:52, 2] lib/smbldap.c:smbldap_open_connection(692)
smbldap_open_connection: connection opened
[2005/11/30 17:36:52, 2] passdb/pdb_ldap.c:init_sam_from_ldap(499)
init_sam_from_ldap: Entry found for user: ws0dwi
[2005/11/30 17:37:07, 0] auth/auth_sam.c:check_sam_security(324)
check_sam_security: make_server_info_sam() failed with 'NT_STATUS_UNSUCCESSFUL'
[2005/11/30 17:37:07, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [ws0dwi] -> [ws0dwi] FAILED with error NT_STATUS_UNSUCCESSFUL
[2005/11/30 17:37:07, 2] smbd/server.c:exit_server(609)
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed out)
i have run tethereal to see the network packets as i suspect it may be problems with LDAP, when i try to test a connect and we dont get a sucessful connection this is a snippet of the out put....
375.692180 184.108.40.206 -> 220.127.116.11 TCP 40156 > ldap [ACK] Seq=1355 Ack=2375 Win=10532 Len=0 TSV=3165855666 TSER=1174962082
384.312099 18.104.22.168 -> 22.214.171.124 TCP 40157 > ldap [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=3165864287 TSER=0 WS=2384.313583 126.96.36.199 -> 188.8.131.52 TCP ldap > 40157 [SYN, ACK] Seq=0 Ack=1 Win=49232 Len=0 TSV=1174962944 TSER=3165864287 MSS=1460 WS=0
384.313594 184.108.40.206 -> 220.127.116.11 TCP 40157 > ldap [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=3165864288 TSER=1174962944
384.314124 18.104.22.168 -> 22.214.171.124 LDAP MsgId=1 Bind Request, DN=cn=Directory Manager
384.314461 126.96.36.199 -> 188.8.131.52 TCP ldap > 40157 [ACK] Seq=1 Ack=44 Win=49189 Len=0 TSV=1174962945 TSER=3165864289
....it freezes at this line /\ for a few seconds then we get the "NT_STATUS_LOGON_FAILURE" or "NT_STATUS_UNSUCESSFUL"
PLease could somebody advise? This is causing thousands of users problems!
Student and Learning Support
University of Sunderland
Tel: 0191 515 2695
More information about the samba