From 1ee95e4cb14b0f9c7bbaba0c994f0a511822cff8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 12 Jul 2012 16:00:59 +0200 Subject: s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam() This does not check whether the given sid is in our domain, but but whether it belongs to the local sam, which is a different thing on a domain member server. Autobuild-User(master): Michael Adam Autobuild-Date(master): Thu Jul 12 18:36:02 CEST 2012 on sn-devel-104 --- source3/auth/token_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth/token_util.c') diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index 4a88a6bb72..59295fd0f7 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -583,7 +583,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username, goto done; } - if (sid_check_is_in_our_domain(&user_sid)) { + if (sid_check_is_in_our_sam(&user_sid)) { bool ret; uint32_t pdb_num_group_sids; /* This is a passdb user, so ask passdb */ -- cgit