diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-04-11 23:43:40 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-04-11 23:43:40 +0000 |
commit | 4c0399915cde591cb06f99b50acd5e5bf48bc6cb (patch) | |
tree | 4541354d0b48ef412730466d57313bfceba7f8e5 /source3/smbd/fileio.c | |
parent | 440a0099ea30fbf47ad2be2f014a4a1df1eaf783 (diff) | |
download | samba-4c0399915cde591cb06f99b50acd5e5bf48bc6cb.tar.gz samba-4c0399915cde591cb06f99b50acd5e5bf48bc6cb.tar.bz2 samba-4c0399915cde591cb06f99b50acd5e5bf48bc6cb.zip |
Much better support for both non-algorithic RIDs (where the RID is stored in
the passdb) and RIDs not in the passdb, due to being NIS users etc.
The main fix here is to add become_root()/unbecome_root() at critical places.
This (finally) fixes the bug where you could not see local users's names
in a file's security properties as non-root. Tested.
The similar bug in uid_to_sid is also fixed, but is not (yet) Tested.
Andrew Bartlett
(This used to be commit 79327a305e20d78ab5ca21d01c39b5f49dc0d632)
Diffstat (limited to 'source3/smbd/fileio.c')
0 files changed, 0 insertions, 0 deletions