summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-20 19:55:01 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-20 21:40:40 +0100
commit367b35b1ffd353070b9dca4f00e3089f6788b266 (patch)
treed36b7c8fb1a9f0919d7c6a51edd2c2736b9744d4
parentff6c175ae6cfb10d466db2920a9a7f9e67709ede (diff)
downloadsamba-367b35b1ffd353070b9dca4f00e3089f6788b266.tar.gz
samba-367b35b1ffd353070b9dca4f00e3089f6788b266.tar.bz2
samba-367b35b1ffd353070b9dca4f00e3089f6788b266.zip
s3: Fix pdb_ads_enum_aliasmem for empty aliases
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 20 21:40:40 CET 2011 on sn-devel-104
-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);