1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r12943: Generate a SID for the domain join account using the modules, rather

than a hardcoded SID.

Fix the samldb module to return the what *was* the nextrid, rather
than the new nextrid (that is for next time).

Andrew Bartlett
(This used to be commit ffe9042e15cebbc7ff1bac90ec39835753d6caa7)
This commit is contained in:
Andrew Bartlett 2006-01-15 06:59:56 +00:00 committed by Gerald (Jerry) Carter
parent 491a720354
commit c96b572386
3 changed files with 1 additions and 4 deletions

View File

@ -116,8 +116,6 @@ static int samldb_allocate_next_rid(struct ldb_context *ldb, TALLOC_CTX *mem_ctx
return 1; return 1;
} }
(*id)++;
return 0; return 0;
} }

View File

@ -19,7 +19,7 @@ maxPwdAge: -37108517437440
minPwdAge: 0 minPwdAge: 0
minPwdLength: 7 minPwdLength: 7
modifiedCountAtLastProm: 0 modifiedCountAtLastProm: 0
nextRid: 1001 nextRid: 1000
pwdProperties: 1 pwdProperties: 1
pwdHistoryLength: 24 pwdHistoryLength: 24
objectSid: ${DOMAINSID} objectSid: ${DOMAINSID}

View File

@ -85,7 +85,6 @@ objectGUID: ${HOSTGUID}
userAccountControl: 532480 userAccountControl: 532480
localPolicyFlags: 0 localPolicyFlags: 0
primaryGroupID: 516 primaryGroupID: 516
objectSid: ${DOMAINSID}-1000
accountExpires: 9223372036854775807 accountExpires: 9223372036854775807
sAMAccountName: ${NETBIOSNAME}$ sAMAccountName: ${NETBIOSNAME}$
sAMAccountType: 805306369 sAMAccountType: 805306369