summaryrefslogtreecommitdiffstats
path: root/source3/lib/util_sid_passdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_sid_passdb.c')
-rw-r--r--source3/lib/util_sid_passdb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/lib/util_sid_passdb.c b/source3/lib/util_sid_passdb.c
index 0138c7d5f36..b56837e62e6 100644
--- a/source3/lib/util_sid_passdb.c
+++ b/source3/lib/util_sid_passdb.c
@@ -55,6 +55,11 @@ bool sid_check_object_is_for_passdb(const struct dom_sid *sid)
return true;
}
+ if (pdb_is_responsible_for_everything_else())
+ {
+ return true;
+ }
+
return false;
}
/**
@@ -115,5 +120,10 @@ bool sid_check_is_for_passdb(const struct dom_sid *sid)
return true;
}
+ if (pdb_is_responsible_for_everything_else())
+ {
+ return true;
+ }
+
return false;
}