|
The SID's that are returned to the
client are 100% OK.
Proof:
I access an NT server from the client,
and watch a file that MYDOM\UserA and MYDOM\UserB have permissions
on.
Then, I access the SAMBA server and
watch a file that MYDOM\UserA,MYDOM\UserB and MYDOM\UserC have permissions
on.
The UserA and B SID's are translated to
names correctly (because they are cached on the client machine). UserC's SID
remains in SID form.
So - I know for sure that SID's of UserA
and UserB are returned from the SAMBA correctly, and probably UserC as well.
(the SID that I see matches the exact SID of the user on the PDC).
(if I didn't access the NT server before
accessing the samba server, all 3 SID's would not have been
translated....)
Could it be that the client does not
access the PDC to translate SID's to names, but trying to access the server who
gave him the SID's , and the server is supposed to relay the RPC to the PDC
?
more info:
There is only one PDC in out
network.
The security management delivers
USERNAMES to samba and he translates them to SID's and sends them to the
client.
Samba version is 2.2.0
security = DOMAIN or security = SERVER
(same result)
(when security = DOMAIN the samba server
is joined to the domain ...)
more info 2:
I ran samba with debug level = 10.
I could see that the client asks SAMBA
to translate the SID's.
it calls lookup_sid, which tries to
activate winbind to translate the SID. I suppose that in this part if winbind
had been running, he might have translated the SID correctly for the
client.
But since winbind is not running, the
SAMBA tries to translate the SID itself, and fails...
log:
2002/06/23 12:09:20.584203, 5]
rpc_server/srv_lsa_nt.c:init_lsa_trans_names(219)
init_lsa_trans_names: looking up sid S-1-5-21-257908509-604318102-2002191721-1106 [2002/06/23 12:09:20.584286, 10] smbd/uid.c:lookup_sid(366) lookup_sid: winbind lookup for SID S-1-5-21-257908509-604318102-2002191721-1106 failed - trying local. [2002/06/23 12:09:20.584368, 5] lib/util_sid.c:map_domain_sid_to_name(151) map_domain_sid_to_name: S-1-5-21-257908509-604318102-2002191721 [2002/06/23 12:09:20.584428, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-5-21-3039204150-1313164136-3871986822 [2002/06/23 12:09:20.584489, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-5-21-3039204150-1313164136-3871986822 [2002/06/23 12:09:20.584541, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-5-32 [2002/06/23 12:09:20.584588, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-1 [2002/06/23 12:09:20.584635, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-3 [2002/06/23 12:09:20.584682, 5] lib/util_sid.c:map_domain_sid_to_name(158) map_domain_sid_to_name: compare: S-1-5 [2002/06/23 12:09:20.584724, 5] lib/util_sid.c:map_domain_sid_to_name(167) map_domain_sid_to_name: mapping for S-1-5 not found [2002/06/23 12:09:20.584769, 5] rpc_server/srv_lsa_nt.c:init_lsa_trans_names(228) init_lsa_trans_names: not found [2002/06/23 12:09:20.584816, 10] rpc_server/srv_lsa_nt.c:init_lsa_trans_names(243) init_lsa_trans_names: added user '\' to referenced list.
|
- --with-vfs and ACLs problem Nir L
- Re: --with-vfs and ACLs problem Richard Sharpe
- Re: --with-vfs and ACLs problem Nir L
- Re: --with-vfs and ACLs problem Richard Sharpe
- RE: --with-vfs and ACLs problem Esh, Andrew
- Nir L
