dsdb: Create RID Set as SYSTEM
commitda60caf2c7bc3a1012862f39cc7aa669e24b3d16
authorAndrew Bartlett <abartlet@samba.org>
Sun, 30 Oct 2016 21:41:39 +0000 (31 10:41 +1300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 30 Nov 2016 11:19:33 +0000 (30 12:19 +0100)
tree46000f4ce59e7cce202fca55acad194fa0c914db
parentda6d45a59399e487b468fa8bb7a85c1032a26de5
dsdb: Create RID Set as SYSTEM

We do not want random users with add-user rights to own the new RID Set for this
server, and the ridSet class is thankfully system-only.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit fe90dadd2cd13c20484c06318724c592e5cf298e)
source4/dsdb/samdb/ldb_modules/ridalloc.c