[Samba] NT user token: (NULL) what does this mean?
Michael Andrewjeski
mandrewjeski at zonelabs.com
Mon Aug 16 22:08:39 GMT 2004
I've just noticed this in the log file for a user that cannot connect. It simply repeats over and over
in the log. What the user sees is that he maps to the share, then gets a message "access denied"
He can however connect to any subdirectory beneath the share. Weird.
The setup is samba 3.0.4 on Redhat compiled with windbind as a member server
Connecting to a Win2k domain using rpc, smb.conf sent upon request.
Thanks Mike.
Log file:
[2004/08/15 04:02:49, 3] smbd/sec_ctx.c:set_sec_ctx(287)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/08/15 04:02:49, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/08/15 04:02:49, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/08/15 04:02:49, 5] smbd/uid.c:change_to_root_user(281)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/08/15 04:03:49, 3] smbd/sec_ctx.c:set_sec_ctx(287)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/08/15 04:03:49, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/08/15 04:03:49, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/08/15 04:03:49, 5] smbd/uid.c:change_to_root_user(281)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/08/15 04:04:49, 3] smbd/sec_ctx.c:set_sec_ctx(287)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/08/15 04:04:49, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/08/15 04:04:49, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/08/15 04:04:49, 5] smbd/uid.c:change_to_root_user(281)
change_to_root_user: now uid=(0,0) gid=(0,0)
Michael Andrewjeski
Unix Administrator
Zone Labs, A Check Point Company
http://www.zonelabs.com
Tel: 415.633.4769
Fax: 415.633.4501
More information about the samba
mailing list