summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@symas.com>2013-10-14 12:38:10 +0300
committerNadezhda Ivanova <nivanova@samba.org>2013-10-14 13:31:50 +0200
commit13a10d43141c29dad61868b451c0c1dca82360de (patch)
treeec660ca94f27c085be55e5f85e6789a1a2437099 /testdata
parent064433f265d2215389f2a377b6e8243318669b65 (diff)
downloadsamba-13a10d43141c29dad61868b451c0c1dca82360de.tar.gz
samba-13a10d43141c29dad61868b451c0c1dca82360de.tar.bz2
samba-13a10d43141c29dad61868b451c0c1dca82360de.zip
s4-samldb: Do not allow deletion of objects with RID < 1000
According to [MS-SAMR] 3.1.5.7 Delete Pattern we should not allow deletion of security objects with RID < 1000. This patch will prevent deletion of well-known accounts and groups. Signed-off-by: Nadezhda Ivanova <nivanova@symas.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date(master): Mon Oct 14 13:31:50 CEST 2013 on sn-devel-104
Diffstat (limited to 'testdata')
-rw-r--r--testdata/samba3/samba3.ldif4
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/samba3/samba3.ldif b/testdata/samba3/samba3.ldif
index 76792d09e5..3978777e27 100644
--- a/testdata/samba3/samba3.ldif
+++ b/testdata/samba3/samba3.ldif
@@ -94,10 +94,10 @@ displayName: Backup Operators
dn: cn=Replicator,ou=Groups,sambaDomainName=TESTS,${BASEDN}
objectClass: posixGroup
objectClass: sambaGroupMapping
-gidNumber: 552
+gidNumber: 1052
cn: Replicator
description: Netbios Domain Supports file replication in a sambaDomainName
-sambaSID: S-1-5-21-4231626423-2410014848-2360679739-552
+sambaSID: S-1-5-21-4231626423-2410014848-2360679739-1052
sambaGroupType: 2
displayName: Replicator