summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2017-03-03 16:57:50 +0200
committerAlexander Bokovoy <ab@samba.org>2017-03-08 18:00:12 +0100
commit520167992bd2477bc11920d2dc9ec87f2cb339c9 (patch)
treefe0a10c6a92796246c7eb08cf87c59da1ebb985a /source3/libads
parentca8fd793930173b4e625d3f286739de214155bc1 (diff)
downloadsamba-520167992bd2477bc11920d2dc9ec87f2cb339c9.tar.gz
libads: convert to use smb_gss_krb5_import_cred
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12611 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index cb630fac4af..ab79f70f773 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -371,7 +371,7 @@ static ADS_STATUS ads_init_gssapi_cred(ADS_STRUCT *ads, gss_cred_id_t *cred)
goto done;
}
- maj = gss_krb5_import_cred(&min, kccache, NULL, NULL, cred);
+ maj = smb_gss_krb5_import_cred(&min, kctx, kccache, NULL, NULL, cred);
if (maj != GSS_S_COMPLETE) {
status = ADS_ERROR_GSS(maj, min);
goto done;