diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-08-02 12:31:41 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-10 09:18:59 +0200 |
commit | 4cad5dcb6d5e49cc9bb1aa4ca454f369e00e8c6f (patch) | |
tree | 158e9785703e5fc3227a9ce0bd8d115fe850af8e /source4/auth/gensec | |
parent | 2ea3a24dced0814100e352bbbca124011be73602 (diff) | |
download | samba-4cad5dcb6d5e49cc9bb1aa4ca454f369e00e8c6f.tar.gz samba-4cad5dcb6d5e49cc9bb1aa4ca454f369e00e8c6f.tar.bz2 samba-4cad5dcb6d5e49cc9bb1aa4ca454f369e00e8c6f.zip |
s4:gensec/schannel: remove unused dcerpc_schannel_creds()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r-- | source4/auth/gensec/schannel.c | 23 | ||||
-rw-r--r-- | source4/auth/gensec/schannel.h | 26 |
2 files changed, 0 insertions, 49 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c index e7c545fb66..10d2565fe1 100644 --- a/source4/auth/gensec/schannel.c +++ b/source4/auth/gensec/schannel.c @@ -29,7 +29,6 @@ #include "../libcli/auth/schannel.h" #include "librpc/rpc/dcerpc.h" #include "param/param.h" -#include "auth/gensec/schannel.h" #include "auth/gensec/gensec_toplevel_proto.h" _PUBLIC_ NTSTATUS gensec_schannel_init(void); @@ -204,28 +203,6 @@ static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_ } /** - * Return the struct netlogon_creds_CredentialState. - * - * Make sure not to call this unless gensec is using schannel... - */ - -/* TODO: make this non-public */ - -_PUBLIC_ NTSTATUS dcerpc_schannel_creds(struct gensec_security *gensec_security, - TALLOC_CTX *mem_ctx, - struct netlogon_creds_CredentialState **creds) -{ - struct schannel_state *state = talloc_get_type(gensec_security->private_data, struct schannel_state); - - *creds = talloc_reference(mem_ctx, state->creds); - if (!*creds) { - return NT_STATUS_NO_MEMORY; - } - return NT_STATUS_OK; -} - - -/** * Returns anonymous credentials for schannel, matching Win2k3. * */ diff --git a/source4/auth/gensec/schannel.h b/source4/auth/gensec/schannel.h deleted file mode 100644 index 88a32a7490..0000000000 --- a/source4/auth/gensec/schannel.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - Unix SMB/CIFS implementation. - - dcerpc schannel operations - - Copyright (C) Andrew Tridgell 2004 - Copyright (C) Andrew Bartlett <abartlet@samba.org> 2004-2005 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -struct netlogon_creds_CredentialState; -NTSTATUS dcerpc_schannel_creds(struct gensec_security *gensec_security, - TALLOC_CTX *mem_ctx, - struct netlogon_creds_CredentialState **creds); |