diff options
author | Simo Sorce <idra@samba.org> | 2010-09-01 19:05:43 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-23 10:36:54 -0700 |
commit | 4194383cfe151aa57e0b288c77a113c5922eb019 (patch) | |
tree | ee81b6c6a900ce4242598da55660247ee4c86eb8 /source3 | |
parent | 412ebad02b74d8fbb1f6493e87abab7e345dc000 (diff) | |
download | samba-4194383cfe151aa57e0b288c77a113c5922eb019.tar.gz samba-4194383cfe151aa57e0b288c77a113c5922eb019.tar.bz2 samba-4194383cfe151aa57e0b288c77a113c5922eb019.zip |
gssapi: remove unused function argument
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/crypto/gse.c | 2 | ||||
-rw-r--r-- | source3/librpc/crypto/gse.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 5 |
3 files changed, 1 insertions, 7 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 0754462834..064ccda2eb 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -340,7 +340,6 @@ done: NTSTATUS gse_init_server(TALLOC_CTX *mem_ctx, bool do_sign, bool do_seal, uint32_t add_gss_c_flags, - const char *server, const char *keytab_name, struct gse_context **_gse_ctx) { @@ -931,7 +930,6 @@ NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx, NTSTATUS gse_init_server(TALLOC_CTX *mem_ctx, bool do_sign, bool do_seal, uint32_t add_gss_c_flags, - const char *server, const char *keytab, struct gse_context **_gse_ctx) { diff --git a/source3/librpc/crypto/gse.h b/source3/librpc/crypto/gse.h index c0fa354b4b..a6d9a35a7f 100644 --- a/source3/librpc/crypto/gse.h +++ b/source3/librpc/crypto/gse.h @@ -42,7 +42,6 @@ NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx, NTSTATUS gse_init_server(TALLOC_CTX *mem_ctx, bool do_sign, bool do_seal, uint32_t add_gss_c_flags, - const char *server, const char *keytab, struct gse_context **_gse_ctx); NTSTATUS gse_get_server_auth_token(TALLOC_CTX *mem_ctx, diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 15aaa8254a..f1bc54250a 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -1021,9 +1021,6 @@ static bool pipe_gssapi_auth_bind(struct pipes_struct *p, struct gse_context *gse_ctx = NULL; /* Let's init the gssapi machinery for this connection */ - /* passing a NULL server name means the server will try - * to accept any connection regardless of the name used as - * long as it can find a decryption key */ /* by passing NULL, the code will attempt to set a default * keytab based on configuration options */ status = gse_init_server(p, @@ -1032,7 +1029,7 @@ static bool pipe_gssapi_auth_bind(struct pipes_struct *p, (auth_info->auth_level == DCERPC_AUTH_LEVEL_PRIVACY), GSS_C_DCE_STYLE, - NULL, NULL, + NULL, &gse_ctx); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("Failed to init dcerpc gssapi server (%s)\n", |