Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] samba no connect from windows
Date: Sat, 13 Nov 2010 00:05:22
Message-Id: 87wroirsvx.fsf@newsguy.com
1 This samba problem (windows machines cannot connect to gentoo server)
2 seems to have followed a recent update including samba.
3
4 qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6
5
6 Usually I've found I might need to redo passwords with smbpasswd.
7
8 This time, that is not sufficient.
9
10 Looking at the logs... which I might add seem ungodly full more or
11 less useless gunk.... I'm not seeing anything that appears to be an
12 error or rejected connection... in fact it appears to be saying the
13 connection was successful but I'm by no means competent to determine that.
14
15 I've included a snippet below, but let me say that I first restarted
16 samba, then rm'ed all log* files under /var/log/samba.
17
18 Then went to a windows machine and attempted to connect.
19
20 Came back to gentoo and scanned thru the logs. 3 were from that
21 attempt judging by name or ip.
22
23 This snippet starts from the very top of the newly created log and
24 appears to be showing the connection succeeding?:
25
26 [2010/11/12 17:32:11.898234, 3] smbd/process.c:1485(process_smb)
27 Transaction 0 of length 108 (0 toread)
28 [2010/11/12 17:32:11.899792, 3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
29 Got NTLMSSP neg_flags=0xe2088297
30 [2010/11/12 17:32:11.901339, 3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
31 Got user=[harry] domain=[m2] workstation=[M2] len1=24 len2=260
32 [2010/11/12 17:32:11.901585, 3] smbd/map_username.c:188(map_username)
33 Mapped user harry to reader
34 [2010/11/12 17:32:11.901709, 3] auth/auth.c:216(check_ntlm_password)
35 check_ntlm_password: Checking password for unmapped user [m2]\[harry]@[M2] with the new password interface
36 [2010/11/12 17:32:11.901757, 3] auth/auth.c:219(check_ntlm_password)
37 check_ntlm_password: mapped user is: [READER]\[reader]@[M2]
38 [2010/11/12 17:32:11.901820, 3] smbd/sec_ctx.c:210(push_sec_ctx)
39 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
40 [2010/11/12 17:32:11.901869, 3] smbd/uid.c:429(push_conn_ctx)
41 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
42
43 [...] Many lines skipped here
44
45 [2010/11/12 17:32:11.905698, 3] smbd/sec_ctx.c:418(pop_sec_ctx)
46 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
47 [2010/11/12 17:32:11.905762, 3] smbd/sec_ctx.c:418(pop_sec_ctx)
48 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
49 [2010/11/12 17:32:11.905804, 3] auth/auth.c:265(check_ntlm_password)
50 check_ntlm_password: sam authentication for user [harry] succeeded
51 [2010/11/12 17:32:11.905841, 3] smbd/sec_ctx.c:210(push_sec_ctx)
52 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
53 [2010/11/12 17:32:11.905875, 3] smbd/uid.c:429(push_conn_ctx)
54 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
55 [2010/11/12 17:32:11.905904, 3] smbd/sec_ctx.c:310(set_sec_ctx)
56 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
57 [2010/11/12 17:32:11.905960, 3] smbd/sec_ctx.c:418(pop_sec_ctx)
58 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
59 [2010/11/12 17:32:11.905996, 2] auth/auth.c:304(check_ntlm_password)
60 check_ntlm_password: authentication for user [harry] -> [reader] -> [reader] succeeded
61 [2010/11/12 17:32:11.906055, 3] smbd/sec_ctx.c:210(push_sec_ctx)
62 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
63 [2010/11/12 17:32:11.906135, 3] smbd/uid.c:429(push_conn_ctx)
64 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
65
66
67 [...] gobs more skipped... then this appears when the windows dialog
68 finally gives up the ghost.
69
70
71 [2010/11/12 17:58:55.756748, 3]
72 smbd/connection.c:31(yield_connection)
73 Yielding connection to
74 [2010/11/12 17:58:55.756821, 3]
75 smbd/connection.c:42(yield_connection)
76 deleting connection record returned NT_STATUS_NOT_FOUND
77 [2010/11/12 17:58:55.757047, 3] smbd/server.c:902(exit_server_common)
78 Server exit (normal exit)

Replies

Subject Author
Re: [gentoo-user] samba no connect from windows Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] samba no connect from windows Adam Carter <adamcarter3@×××××.com>