diff options
author | Jeremy Allison <jra@samba.org> | 2004-06-24 20:37:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:02 -0500 |
commit | 41416f3876da5a43077ff991817e73c44dd6ae70 (patch) | |
tree | 5d8fa17fb531348063ed42d92c3dc1f7d991e481 /source3 | |
parent | c3f09f2347e5397ff4eea3fedf1d9cf3284f0162 (diff) | |
download | samba-41416f3876da5a43077ff991817e73c44dd6ae70.tar.gz samba-41416f3876da5a43077ff991817e73c44dd6ae70.tar.bz2 samba-41416f3876da5a43077ff991817e73c44dd6ae70.zip |
r1245: I think the parameter for "password" and "data" was reversed.
CHECK THIS !
Jeremy.
(This used to be commit d4abeefe3e307ff226fba481ca2c743cde153e4b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/kerberos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index e8bf4b0846..97b895a241 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -79,9 +79,9 @@ int kerberos_kinit_password(const char *principal, const char *password, int tim return code; } - if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, NULL, + if ((code = krb5_get_init_creds_password(ctx, &my_creds, me, password, kerb_prompter, - password, 0, NULL, NULL))) { + NULL, 0, NULL, NULL))) { krb5_free_principal(ctx, me); krb5_free_context(ctx); return code; |