mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +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:
parent
5215bcca15
commit
3f3bb62ba6
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user