mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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 ffe9042e15
)
This commit is contained in:
parent
491a720354
commit
c96b572386
@ -116,8 +116,6 @@ static int samldb_allocate_next_rid(struct ldb_context *ldb, TALLOC_CTX *mem_ctx
|
||||
return 1;
|
||||
}
|
||||
|
||||
(*id)++;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ maxPwdAge: -37108517437440
|
||||
minPwdAge: 0
|
||||
minPwdLength: 7
|
||||
modifiedCountAtLastProm: 0
|
||||
nextRid: 1001
|
||||
nextRid: 1000
|
||||
pwdProperties: 1
|
||||
pwdHistoryLength: 24
|
||||
objectSid: ${DOMAINSID}
|
||||
|
@ -85,7 +85,6 @@ objectGUID: ${HOSTGUID}
|
||||
userAccountControl: 532480
|
||||
localPolicyFlags: 0
|
||||
primaryGroupID: 516
|
||||
objectSid: ${DOMAINSID}-1000
|
||||
accountExpires: 9223372036854775807
|
||||
sAMAccountName: ${NETBIOSNAME}$
|
||||
sAMAccountType: 805306369
|
||||
|
Loading…
Reference in New Issue
Block a user