1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r14641: fix typo

metze
This commit is contained in:
Stefan Metzmacher 2006-03-22 14:08:59 +00:00 committed by Gerald (Jerry) Carter
parent 009b56a323
commit 0ad464f686

View 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);