mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3:utils: Make strings const passed to password_change() in smbpasswd
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12975 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
This commit is contained in:
parent
c773844e75
commit
41a31a71ab
@ -243,8 +243,9 @@ static char *prompt_for_new_password(bool stdin_get)
|
|||||||
Change a password either locally or remotely.
|
Change a password either locally or remotely.
|
||||||
*************************************************************/
|
*************************************************************/
|
||||||
|
|
||||||
static NTSTATUS password_change(const char *remote_mach, char *username,
|
static NTSTATUS password_change(const char *remote_mach,
|
||||||
char *old_passwd, char *new_pw,
|
const char *username,
|
||||||
|
const char *old_passwd, const char *new_pw,
|
||||||
int local_flags)
|
int local_flags)
|
||||||
{
|
{
|
||||||
NTSTATUS ret;
|
NTSTATUS ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user