Fix bug #7080 - Quota only shown when logged as root.
authorJeremy Allison <jra@samba.org>
Tue, 5 Apr 2011 21:15:56 +0000 (14:15 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:56:47 +0000 (12:56 +0200)
commit320ae41ff34856a8837be88a4a99366b18e2d172
tree5171bb6555075be8ef1f16a52f507808b842f5cb
parentb9f9be3effb16382d081f37bba6fc6ae016a74f3
Fix bug #7080 - Quota only shown when logged as root.

Ensure we also check conn->admin_user when rejecting non-root access.
(cherry picked from commit 6d360c9e5db64fbd96d353013b7836d771935b6d)
source3/smbd/fake_file.c
source3/smbd/nttrans.c
source3/smbd/trans2.c