s3: rename sid_check_is_domain() to sid_check_is_our_sam()
[kai/samba.git] / source3 / winbindd / winbindd_cm.c
index 44ca77bc6c8277de19cdebaefede99cff4b19913..f52e723451d2b890ad084013236536b1599a993d 100644 (file)
@@ -2159,7 +2159,7 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
        char *machine_account = NULL;
        char *domain_name = NULL;
 
-       if (sid_check_is_domain(&domain->sid)) {
+       if (sid_check_is_our_sam(&domain->sid)) {
                return open_internal_samr_conn(mem_ctx, domain, cli, sam_handle);
        }