diff options
author | Jeremy Allison <jra@samba.org> | 2010-02-01 15:55:55 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-02-01 15:55:55 -0800 |
commit | b3009819c55043aca81d5b53c805696dd4c88aac (patch) | |
tree | 3cc7055efca31ef97029d8dd9b0502a6f04d5c28 /source3/libnet | |
parent | 431d75fc9c7f942dcbd31f80380dda59887ac229 (diff) | |
download | samba-b3009819c55043aca81d5b53c805696dd4c88aac.tar.gz samba-b3009819c55043aca81d5b53c805696dd4c88aac.tar.bz2 samba-b3009819c55043aca81d5b53c805696dd4c88aac.zip |
Fix bug #7080 - Quota only shown when logged as root.
conn->server_info->utok.uid == 0
isn't the correct check to see if we're root anymore. As rpc_samr_nt.c does,
the correct check is :
geteuid() == sec_initial_uid()
Jeremy.
Diffstat (limited to 'source3/libnet')
0 files changed, 0 insertions, 0 deletions