s3/smbd: allow set quota for non root user (when built with --enable-selftest)
authorNoel Power <noel.power@suse.com>
Wed, 22 Mar 2017 20:06:13 +0000 (20:06 +0000)
committerNoel Power <npower@samba.org>
Tue, 31 Jul 2018 14:56:25 +0000 (16:56 +0200)
commit705086d83c847c707e8230ce6a58e840a70d93c3
tree1e6495eddb0ec33e75fbf1ca5c82b7b594affffc
parent801c1856a39cbc2fd65183a7d6d8b7526dbc251e
s3/smbd: allow set quota for non root user (when built with --enable-selftest)

Currently it appears you need to be root to set quotas, for test purposes
this requirement needs to be relaxed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13553

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/nttrans.c