summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-17 03:08:42 +0100
committerGünther Deschner <gd@samba.org>2008-02-17 03:08:42 +0100
commit5b8ebcf397e40bf1f9555c34fadbab2d7b5bf717 (patch)
tree90bb1dfdc0a22d164dec49b9c851e1d3841c4d6a
parentf68ddb1a1aa4209b5c79b81489b6f6fe9f319c25 (diff)
downloadsamba-5b8ebcf397e40bf1f9555c34fadbab2d7b5bf717.tar.gz
samba-5b8ebcf397e40bf1f9555c34fadbab2d7b5bf717.tar.bz2
samba-5b8ebcf397e40bf1f9555c34fadbab2d7b5bf717.zip
Remove unused creds_client_check and creds_client_step.
Guenther (This used to be commit 1dcb32424d16cff968a8713352c93c48dec58674)
-rw-r--r--source3/libsmb/credentials.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/libsmb/credentials.c b/source3/libsmb/credentials.c
index 2dcbdf3cf9..9d33e6d93d 100644
--- a/source3/libsmb/credentials.c
+++ b/source3/libsmb/credentials.c
@@ -322,18 +322,6 @@ void creds_client_init(uint32 neg_flags,
Check a credential returned by the server.
****************************************************************************/
-bool creds_client_check(const struct dcinfo *dc, const DOM_CHAL *rcv_srv_chal_in)
-{
- if (memcmp(dc->srv_chal.data, rcv_srv_chal_in->data, 8)) {
- DEBUG(5,("creds_client_check: challenge : %s\n", credstr(rcv_srv_chal_in->data)));
- DEBUG(5,("calculated: %s\n", credstr(dc->srv_chal.data)));
- DEBUG(0,("creds_client_check: credentials check failed.\n"));
- return False;
- }
- DEBUG(10,("creds_client_check: credentials check OK.\n"));
- return True;
-}
-
bool netlogon_creds_client_check(const struct dcinfo *dc,
const struct netr_Credential *rcv_srv_chal_in)
{
@@ -360,17 +348,6 @@ bool netlogon_creds_client_check(const struct dcinfo *dc,
the server
****************************************************************************/
-void creds_client_step(struct dcinfo *dc, DOM_CRED *next_cred_out)
-{
- dc->sequence += 2;
- creds_step(dc);
- creds_reseed(dc);
-
- memcpy(&next_cred_out->challenge.data, dc->clnt_chal.data,
- sizeof(next_cred_out->challenge.data));
- next_cred_out->timestamp.time = dc->sequence;
-}
-
void netlogon_creds_client_step(struct dcinfo *dc,
struct netr_Authenticator *next_cred_out)
{