mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth/credentials: add cli_credentials_get_kerberos_state_obtained() helper
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15666
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit c715ac5e49
)
This commit is contained in:
parent
cccd9c95c8
commit
46ebf66fe9
@ -146,6 +146,11 @@ _PUBLIC_ enum credentials_use_kerberos cli_credentials_get_kerberos_state(struct
|
||||
return creds->kerberos_state;
|
||||
}
|
||||
|
||||
_PUBLIC_ enum credentials_obtained cli_credentials_get_kerberos_state_obtained(struct cli_credentials *creds)
|
||||
{
|
||||
return creds->kerberos_state_obtained;
|
||||
}
|
||||
|
||||
_PUBLIC_ const char *cli_credentials_get_forced_sasl_mech(struct cli_credentials *creds)
|
||||
{
|
||||
return creds->forced_sasl_mech;
|
||||
|
@ -267,6 +267,7 @@ const char *cli_credentials_get_impersonate_principal(struct cli_credentials *cr
|
||||
const char *cli_credentials_get_self_service(struct cli_credentials *cred);
|
||||
const char *cli_credentials_get_target_service(struct cli_credentials *cred);
|
||||
enum credentials_use_kerberos cli_credentials_get_kerberos_state(struct cli_credentials *creds);
|
||||
enum credentials_obtained cli_credentials_get_kerberos_state_obtained(struct cli_credentials *creds);
|
||||
const char *cli_credentials_get_forced_sasl_mech(struct cli_credentials *cred);
|
||||
enum credentials_krb_forwardable cli_credentials_get_krb_forwardable(struct cli_credentials *creds);
|
||||
NTSTATUS cli_credentials_set_secrets(struct cli_credentials *cred,
|
||||
|
Loading…
Reference in New Issue
Block a user