s3: rename sid_check_is_in_our_domain() to sid_check_is_in_our_sam()
[mat/samba.git] / source3 / auth / token_util.c
index 4a88a6bb72521e4aee346d3b03eb48969fdc4d0e..59295fd0f72853f2e7d8ae243bc56f78ac10d228 100644 (file)
@@ -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 */