diff options
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/security/security_token.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/security/security_token.c b/source4/libcli/security/security_token.c index 1391a4654d..7ee3a68916 100644 --- a/source4/libcli/security/security_token.c +++ b/source4/libcli/security/security_token.c @@ -192,11 +192,11 @@ BOOL is_anonymous_token(struct security_token *token) return False; } -BOOL is_authenticated_token(struct security_token *token) +BOOL is_authenticated_token(struct security_token *token) { TALLOC_CTX *mem_ctx = talloc_new(token); int i; - struct dom_sid *authenticated = dom_sid_parse_talloc(mem_ctx, SID_NT_ANONYMOUS); + struct dom_sid *authenticated = dom_sid_parse_talloc(mem_ctx, SID_NT_AUTHENTICATED_USERS); for (i = 0; i < token->num_sids; i++) { if (dom_sid_equal(token->sids[i], authenticated)) { talloc_free(mem_ctx); |