diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-09 11:46:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:54 -0500 |
commit | bdb0b60861dd2c352dd30ff1c1822c57ce304d0f (patch) | |
tree | ce5cdd969a82addb5953b23ffa2c709778ebfbd8 /source4/libcli/auth/kerberos.c | |
parent | 2c87cb390d9c46bb1259c4fae95f4a44be97297b (diff) | |
download | samba-bdb0b60861dd2c352dd30ff1c1822c57ce304d0f.tar.gz samba-bdb0b60861dd2c352dd30ff1c1822c57ce304d0f.tar.bz2 samba-bdb0b60861dd2c352dd30ff1c1822c57ce304d0f.zip |
r1418: Merge Samba 3.0's recent kerberos changes into Samba4. None of this
is used yet.
Andrew Bartlett
(This used to be commit 7596f311c9a18314716f64476030ce3dfcdd98bb)
Diffstat (limited to 'source4/libcli/auth/kerberos.c')
-rw-r--r-- | source4/libcli/auth/kerberos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/auth/kerberos.c b/source4/libcli/auth/kerberos.c index e8bf4b0846..97b895a241 100644 --- a/source4/libcli/auth/kerberos.c +++ b/source4/libcli/auth/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; |