summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-09-04 12:21:21 +0200
committerStefan Metzmacher <metze@samba.org>2020-09-07 12:02:15 +0000
commit2c00bea2aefdcc69608dffdafa7ce581d31f9354 (patch)
tree023a498432abf91143f04c882d1f3118dd0d0214 /auth/credentials/credentials.h
parent515cffb1f20eacb041ff7b3d43f8a122a82ddfbd (diff)
downloadsamba-2c00bea2aefdcc69608dffdafa7ce581d31f9354.tar.gz
auth:creds: Add cli_credentials_init_server()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth/credentials/credentials.h')
-rw-r--r--auth/credentials/credentials.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/credentials/credentials.h b/auth/credentials/credentials.h
index 1a3e611fee8..4c140615751 100644
--- a/auth/credentials/credentials.h
+++ b/auth/credentials/credentials.h
@@ -76,6 +76,8 @@ bool cli_credentials_set_workstation(struct cli_credentials *cred,
enum credentials_obtained obtained);
bool cli_credentials_is_anonymous(struct cli_credentials *cred);
struct cli_credentials *cli_credentials_init(TALLOC_CTX *mem_ctx);
+struct cli_credentials *cli_credentials_init_server(TALLOC_CTX *mem_ctx,
+ struct loadparm_context *lp_ctx);
void cli_credentials_set_anonymous(struct cli_credentials *cred);
bool cli_credentials_wrong_password(struct cli_credentials *cred);
const char *cli_credentials_get_password(struct cli_credentials *cred);