summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-16 08:50:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-20 04:31:07 +0200
commit3a2afe4285fca8ab9e3e323ef7f5388f4090d669 (patch)
treed8501df4f75eff16ab8b74a98f790373aec94465 /source3/rpc_server
parent1804d9a64662d37f6c7c50bdd7b8edd80f42192b (diff)
downloadsamba-3a2afe4285fca8ab9e3e323ef7f5388f4090d669.tar.gz
samba-3a2afe4285fca8ab9e3e323ef7f5388f4090d669.tar.bz2
samba-3a2afe4285fca8ab9e3e323ef7f5388f4090d669.zip
s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()
This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/dcesrv_gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/dcesrv_gssapi.c b/source3/rpc_server/dcesrv_gssapi.c
index c8a015e066..ec02459633 100644
--- a/source3/rpc_server/dcesrv_gssapi.c
+++ b/source3/rpc_server/dcesrv_gssapi.c
@@ -47,7 +47,7 @@ NTSTATUS gssapi_server_auth_start(TALLOC_CTX *mem_ctx,
/* by passing NULL, the code will attempt to set a default
* keytab based on configuration options */
status = gse_init_server(mem_ctx, do_sign, do_seal,
- add_flags, NULL, &gse_ctx);
+ add_flags, &gse_ctx);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to init dcerpc gssapi server (%s)\n",
nt_errstr(status)));