r14641: fix typo
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Mar 2006 14:08:59 +0000 (14:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:59:04 +0000 (13:59 -0500)
metze
(This used to be commit 0ad464f686dddc5befdf1ec8d20101ee0ad83585)

source4/libcli/security/security_token.c

index 1391a4654da3b9f1d1a10afe057a8c76108003cb..7ee3a68916d388cb5a3cf05251bbeed326395522 100644 (file)
@@ -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);