diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 7bf25994e28..c10a96a6ad8 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -116,8 +116,6 @@ static int samldb_allocate_next_rid(struct ldb_context *ldb, TALLOC_CTX *mem_ctx return 1; } - (*id)++; - return 0; } diff --git a/source4/setup/provision.ldif b/source4/setup/provision.ldif index 2fc0022c812..d87938910c9 100644 --- a/source4/setup/provision.ldif +++ b/source4/setup/provision.ldif @@ -19,7 +19,7 @@ maxPwdAge: -37108517437440 minPwdAge: 0 minPwdLength: 7 modifiedCountAtLastProm: 0 -nextRid: 1001 +nextRid: 1000 pwdProperties: 1 pwdHistoryLength: 24 objectSid: ${DOMAINSID} diff --git a/source4/setup/provision_users.ldif b/source4/setup/provision_users.ldif index ffb0139378a..dfb31783e48 100644 --- a/source4/setup/provision_users.ldif +++ b/source4/setup/provision_users.ldif @@ -85,7 +85,6 @@ objectGUID: ${HOSTGUID} userAccountControl: 532480 localPolicyFlags: 0 primaryGroupID: 516 -objectSid: ${DOMAINSID}-1000 accountExpires: 9223372036854775807 sAMAccountName: ${NETBIOSNAME}$ sAMAccountType: 805306369