summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-09-01 15:33:18 +0200
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commitbd2b18250158ba90768c304d2c7cb4d7e81d8dcd (patch)
treedf854964cbe780e76578ebc3644ce20b677ad42d /auth/credentials/credentials.h
parent3b78f4f093251bface20f307eb673ca632add34f (diff)
downloadsamba-bd2b18250158ba90768c304d2c7cb4d7e81d8dcd.tar.gz
auth:creds: Add cli_credentials_get_password_and_obtained()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@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 bea734f06dc..04cf5138aec 100644
--- a/auth/credentials/credentials.h
+++ b/auth/credentials/credentials.h
@@ -91,6 +91,8 @@ struct cli_credentials *cli_credentials_init_server(TALLOC_CTX *mem_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);
+const char *cli_credentials_get_password_and_obtained(struct cli_credentials *cred,
+ enum credentials_obtained *obtained);
void cli_credentials_get_ntlm_username_domain(struct cli_credentials *cred, TALLOC_CTX *mem_ctx,
const char **username,
const char **domain);