diff options
author | Andreas Schneider <asn@samba.org> | 2017-08-09 18:14:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-08-11 18:21:22 +0200 |
commit | b81ca4f9dcbb378a95fb3ac31bfd9a1cbe505d7d (patch) | |
tree | e8aad9b23db3b9ac3791ee9cd2dc9eb3827822ad /source3 | |
parent | 4791c152b02a47a59fe33870741b2f4c80351e55 (diff) | |
download | samba-b81ca4f9dcbb378a95fb3ac31bfd9a1cbe505d7d.tar.gz |
s3:libads: Fix changing passwords with Kerberos
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12956
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/krb5_setpw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c index 630c2e46631..bc96ac603b1 100644 --- a/source3/libads/krb5_setpw.c +++ b/source3/libads/krb5_setpw.c @@ -251,7 +251,7 @@ static ADS_STATUS ads_krb5_chg_password(const char *kdc_host, ret = krb5_set_password(context, &creds, discard_const_p(char, newpw), - princ, + NULL, &result_code, &result_code_string, &result_string); |