summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-22 14:08:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:04 -0500
commitb7f5078864186cae4a02d2b8c960b2c4bd3aeb91 (patch)
tree7e516ffb28669a751af9c9870376c6005cc58d2a
parent97f49de55e2d12d249d608a91bddcd3cd1ffa452 (diff)
downloadsamba-b7f5078864186cae4a02d2b8c960b2c4bd3aeb91.tar.gz
samba-b7f5078864186cae4a02d2b8c960b2c4bd3aeb91.tar.bz2
samba-b7f5078864186cae4a02d2b8c960b2c4bd3aeb91.zip
r14641: fix typo
metze (This used to be commit 0ad464f686dddc5befdf1ec8d20101ee0ad83585)
-rw-r--r--source4/libcli/security/security_token.c4
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);