mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Some reformatting in netlogon_params_fetch_values().
Michael
(This used to be commit 24f13fb72e
)
This commit is contained in:
parent
2e47997e6e
commit
d48c5f1599
@ -35,8 +35,9 @@ static int netlogon_params_fetch_values(const char *key, REGVAL_CTR *regvals)
|
||||
{
|
||||
uint32 dwValue;
|
||||
|
||||
if ( !pdb_get_account_policy(AP_REFUSE_MACHINE_PW_CHANGE, &dwValue) )
|
||||
if (!pdb_get_account_policy(AP_REFUSE_MACHINE_PW_CHANGE, &dwValue)) {
|
||||
dwValue = 0;
|
||||
}
|
||||
|
||||
regval_ctr_addvalue(regvals, "RefusePasswordChange", REG_DWORD,
|
||||
(char*)&dwValue, sizeof(dwValue));
|
||||
|
Loading…
Reference in New Issue
Block a user