diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-04-20 16:29:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-04-28 16:51:17 +0200 |
commit | 837e6176329330893d5a1e4ce4ac67dbac758e56 (patch) | |
tree | 63049f4fe3f5eef16790733754d931e65142a445 /libcli/security/security_token.h | |
parent | ead483b0c0ec746c0869162024c97f2e08df7f4b (diff) | |
download | samba-837e6176329330893d5a1e4ce4ac67dbac758e56.tar.gz |
libcli/security: implement SECURITY_GUEST
SECURITY_GUEST is not exactly the same as SECURITY_ANONYMOUS.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11847
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/security/security_token.h')
-rw-r--r-- | libcli/security/security_token.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/security/security_token.h b/libcli/security/security_token.h index b8ca990035c..5c5b30bac1c 100644 --- a/libcli/security/security_token.h +++ b/libcli/security/security_token.h @@ -51,6 +51,8 @@ bool security_token_has_sid(const struct security_token *token, const struct dom bool security_token_has_sid_string(const struct security_token *token, const char *sid_string); +bool security_token_has_builtin_guests(const struct security_token *token); + bool security_token_has_builtin_administrators(const struct security_token *token); bool security_token_has_nt_authenticated_users(const struct security_token *token); |