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:
parent
491a720354
commit
c96b572386
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user