1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

smbpasswd is *ugly*!

However this looks like the best spot to init the account policy db...

(fix segfaults on all local smbpasswd ops)

Andrew Bartlett
This commit is contained in:
Andrew Bartlett -
parent 5215bcca15
commit 3f3bb62ba6

View File

@ -221,6 +221,8 @@ static BOOL password_change(const char *remote_machine, char *user_name,
return ret;
}
init_account_policy();
ret = local_password_change(user_name, local_flags, new_passwd,
err_str, sizeof(err_str), msg_str, sizeof(msg_str));