summaryrefslogtreecommitdiff
path: root/libcli/security/security_token.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-04-20 16:29:42 +0200
committerStefan Metzmacher <metze@samba.org>2016-04-28 16:51:17 +0200
commit837e6176329330893d5a1e4ce4ac67dbac758e56 (patch)
tree63049f4fe3f5eef16790733754d931e65142a445 /libcli/security/security_token.h
parentead483b0c0ec746c0869162024c97f2e08df7f4b (diff)
downloadsamba-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.h2
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);