1 |
I'm having a time getting samba working after having it working for |
2 |
mnths. I did do a major update world. At the end when adjusting |
3 |
files under /etc/ I rejected the new smb.conf keeping my old config |
4 |
which is still in place. |
5 |
|
6 |
It seems something has suddenly chagned whereby I cannot access any |
7 |
linux shares from windows. |
8 |
|
9 |
Attempting to get some details of the failure from the logs seem |
10 |
fruitless since the log output is literally huge and nothing stands |
11 |
out with big letters `error'. |
12 |
|
13 |
I'm just not prepared to understand 670 lines of output for one |
14 |
connection attempt. |
15 |
|
16 |
And that is with `log level' cranked down to 3. |
17 |
|
18 |
The following area seems to be important but even this small chunk |
19 |
defies understanding far as I can see: |
20 |
|
21 |
The `Sid' lines seem to be telling something but who knows what. Then |
22 |
finally it shows a ACCESS_DENIED. |
23 |
|
24 |
reader and Harry are the only two authorized users |
25 |
What provoked this piece of log is an attempt from machine `harvey' to |
26 |
login to samba share on machine `reader'. The incoming user is also |
27 |
`reader'. |
28 |
|
29 |
[...] |
30 |
[2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223) |
31 |
string_to_sid: Sid reader does not start with 'S-'. |
32 |
[2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223) |
33 |
string_to_sid: Sid Harry does not start with 'S-'. |
34 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208) |
35 |
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 |
36 |
[2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345) |
37 |
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 |
38 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) |
39 |
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 |
40 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339) |
41 |
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 |
42 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208) |
43 |
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 |
44 |
[2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345) |
45 |
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 |
46 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) |
47 |
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 |
48 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339) |
49 |
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 |
50 |
[2006/08/11 13:38:11, 2] smbd/service.c:make_connection_snum(571) |
51 |
user 'reader' (from session setup) not permitted to access this share (smReader) |
52 |
[2006/08/11 13:38:11, 3] smbd/error.c:error_packet(146) |
53 |
error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED |
54 |
[2006/08/11 13:38:11, 3] smbd/process.c:process_smb(1110) |
55 |
Transaction 4 of length 43 |
56 |
[2006/08/11 13:38:11, 3] smbd/process.c:switch_message(914) |
57 |
switch message SMBulogoffX (pid 4834) conn 0x0 |
58 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) |
59 |
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 |
60 |
[2006/08/11 13:38:11, 3] smbd/reply.c:reply_ulogoffX(1618) |
61 |
ulogoffX vuid=101 |
62 |
[2006/08/11 13:38:11, 3] smbd/process.c:timeout_processing(1359) |
63 |
timeout_processing: End of file from client (client has disconnected). |
64 |
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) |
65 |
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 |
66 |
[2006/08/11 13:38:11, 3] smbd/connection.c:yield_connection(69) |
67 |
Yielding connection to |
68 |
[2006/08/11 13:38:11, 3] smbd/server.c:exit_server_common(675) |
69 |
Server exit (normal exit) |
70 |
[2006/08/11 13:38:11, 3] auth/auth.c:check_ntlm_password(221) |
71 |
check_ntlm_password: Checking password for unmapped user [Harvey]\[reader]@[HARVEY] with the new password interface |
72 |
|
73 |
[...] |
74 |
|
75 |
Then about 60 more lines and I see: |
76 |
|
77 |
[2006/08/11 14:05:19, 3] auth/auth.c:check_ntlm_password(270) |
78 |
check_ntlm_password: sam authentication for user [reader] succeeded |
79 |
|
80 |
-- |
81 |
gentoo-user@g.o mailing list |