registry: check for running as root in clustering mode
commit4809f4a6ee971bcd9767839c729b636b7582fc02
authorRalph Boehme <slow@samba.org>
Sat, 7 Aug 2021 10:52:28 +0000 (7 10:52 +0000)
committerRalph Boehme <slow@samba.org>
Tue, 17 Aug 2021 11:23:15 +0000 (17 11:23 +0000)
tree267e67597f724d362f28bdc8a2fdba6eeb14da94
parentfd19cae8d2f21977d8285efd3f29e2b480d241e9
registry: check for running as root in clustering mode

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14787
RN:  net conf list crashes when run as normal user

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Aug 17 11:23:15 UTC 2021 on sn-devel-184
source3/registry/reg_backend_db.c