summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/credentials.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/auth/credentials.c')
-rw-r--r--source4/libcli/auth/credentials.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source4/libcli/auth/credentials.c b/source4/libcli/auth/credentials.c
index 5814053d5f..acc083d57f 100644
--- a/source4/libcli/auth/credentials.c
+++ b/source4/libcli/auth/credentials.c
@@ -23,8 +23,7 @@
#include "includes.h"
/*
- initialise the credentials state and return the initial credentials
- to be sent as part of a netr_ServerAuthenticate*() call.
+ initialise the credentials state
this call is made after the netr_ServerReqChallenge call
*/
@@ -60,7 +59,8 @@ static void creds_init(struct netr_CredentialState *creds,
/*
- step the credentials to the next element in the chain
+ step the credentials to the next element in the chain, updating the
+ current client and server credentials and the seed
*/
static void creds_step(struct netr_CredentialState *creds)
{
@@ -96,6 +96,12 @@ static void creds_step(struct netr_CredentialState *creds)
}
+
+/*****************************************************************
+The above functions are common to the client and server interface
+next comes the client specific functions
+******************************************************************/
+
/*
initialise the credentials chain and return the first client
credentials