summaryrefslogtreecommitdiff
path: root/source3/utils/ntlm_auth.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-20 19:05:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:38 -0500
commit485a286a65d3b37f424f5701179f73c99eb9b5b9 (patch)
tree3447057a50073442149f12b4562396091406f0b6 /source3/utils/ntlm_auth.c
parent4b000b2c95ec064db18d59bff9bf9957717632c4 (diff)
downloadsamba-485a286a65d3b37f424f5701179f73c99eb9b5b9.tar.gz
samba-485a286a65d3b37f424f5701179f73c99eb9b5b9.tar.bz2
samba-485a286a65d3b37f424f5701179f73c99eb9b5b9.zip
r14585: Tighten argument list of kerberos_kinit_password again,
kerberos_kinit_password_ext provides access to more options. Guenther (This used to be commit afc519530f94b420b305fc28f83c16db671d0d7f)
Diffstat (limited to 'source3/utils/ntlm_auth.c')
-rw-r--r--source3/utils/ntlm_auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index ac53235044..f7e3263fe0 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1191,8 +1191,7 @@ static BOOL manage_client_krb5_init(SPNEGO_DATA spnego)
pstr_sprintf(user, "%s@%s", opt_username, opt_domain);
- if ((retval = kerberos_kinit_password(user, opt_password,
- 0, NULL, NULL, NULL, False, 0))) {
+ if ((retval = kerberos_kinit_password(user, opt_password, 0, NULL))) {
DEBUG(10, ("Requesting TGT failed: %s\n", error_message(retval)));
return False;
}