summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-31 08:54:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:51 -0500
commit75ccd299cd5a5d7d1b76e2d8c6dfa82d6bfe838a (patch)
treeab0114584a31190d98287194cb95938a4c2cc60e /source4/libcli
parent13f47df8cd22f48b348d5a22f2510c7f6e700001 (diff)
downloadsamba-75ccd299cd5a5d7d1b76e2d8c6dfa82d6bfe838a.tar.gz
samba-75ccd299cd5a5d7d1b76e2d8c6dfa82d6bfe838a.tar.bz2
samba-75ccd299cd5a5d7d1b76e2d8c6dfa82d6bfe838a.zip
r4446: attempt to fix the build - andrew, can you check I've done this right?
(This used to be commit 9f0bf657aeee86d859742fb4da3a0f806e7060b6)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/auth/gensec_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c
index c01520bb2f..86e76c5586 100644
--- a/source4/libcli/auth/gensec_krb5.c
+++ b/source4/libcli/auth/gensec_krb5.c
@@ -403,7 +403,7 @@ static NTSTATUS gensec_krb5_client_start(struct gensec_security *gensec_security
/* this string should be unique */
ccache_string = talloc_asprintf(gensec_krb5_state, "MEMORY:%s:%s:%s",
gensec_get_client_principal(gensec_security, gensec_krb5_state),
- gensec_get_target_principal(gensec_security, gensec_krb5_state),
+ gensec_get_target_principal(gensec_security),
generate_random_str(gensec_krb5_state, 16));
ret = krb5_cc_resolve(gensec_krb5_state->krb5_context, ccache_string, &gensec_krb5_state->krb5_ccache);