Update a pile of Samba's SID lookup code to ensure:
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 Jul 2002 09:26:44 +0000 (09:26 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Jul 2002 09:26:44 +0000 (09:26 +0000)
commit02cb8d63bcdf3c55f56d69f17bc905b1047cc573
tree2e49e20d7547010b08248c44b8a9de0ea0d2763f
parent01d9beba6cf2882dc30445b68b3ae54d3bb17679
Update a pile of Samba's SID lookup code to ensure:

- That we never call winbind recursivly
- That we never use an 'algorithmic' RID when we have a fixed uid or gid mapping
  in either the passdb or the group mapping db.

Also, remove restrictions that say 'this domain only'.  If we have a mapping
configured, allow it to be returned.  If we later decide certian mappings are
invalid, then we sould put that in the code that actually does the map.

Allow 'sid->name' transtations on the fixed 'well known' groups for NT, even
if they are not represented by Unix groups yet.

Andrew Bartlett
(This used to be commit d5bafb224337e393420c2ce9c0a787405314713c)
source3/passdb/passdb.c
source3/smbd/uid.c