summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-03-03 15:15:03 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-08 09:18:04 +0100
commit818d51862c6234d0ffb08fcae6e8425907facde4 (patch)
tree5256e96850cb6e6b7138cbfa71eb1d59b623ee68 /source4/auth
parent85598be1f967765f65b78940b73187609fc9694d (diff)
downloadsamba-818d51862c6234d0ffb08fcae6e8425907facde4.tar.gz
samba-818d51862c6234d0ffb08fcae6e8425907facde4.tar.bz2
samba-818d51862c6234d0ffb08fcae6e8425907facde4.zip
s4-gensec: Fixed wrong usage of error_string.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index 3d744770df..e8beb4ca0f 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -489,7 +489,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security,
/* This ensures we lookup the correct entry in that keytab */
ret = principal_from_credentials(out_mem_ctx, gensec_get_credentials(gensec_security),
gensec_krb5_state->smb_krb5_context,
- &server_in_keytab, error_string);
+ &server_in_keytab, &error_string);
if (ret) {
DEBUG(2,("Failed to make credentials from principal: %s\n", error_string));