summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_ads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index a38bb4a19f..f74fb125ed 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -1710,7 +1710,9 @@ static NTSTATUS pdb_ads_enum_aliasmem(struct pdb_methods *m,
}
if (!tldap_entry_values(msg[0], "member", &blobs, &num_members)) {
- return NT_STATUS_INTERNAL_DB_CORRUPTION;
+ *pmembers = NULL;
+ *pnum_members = 0;
+ return NT_STATUS_OK;
}
members = talloc_array(mem_ctx, struct dom_sid, num_members);