diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-20 17:53:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-20 20:50:14 +0100 |
commit | 4c45078d8f8d7cde4ecb5e7b08d96b9abd538ea5 (patch) | |
tree | 1e32183d8033217a8fc36bad55fa1dac4ffdf2d0 /source3/passdb | |
parent | 288b396411bfe8f8eb7353193991a1910c97751e (diff) | |
download | samba-4c45078d8f8d7cde4ecb5e7b08d96b9abd538ea5.tar.gz samba-4c45078d8f8d7cde4ecb5e7b08d96b9abd538ea5.tar.bz2 samba-4c45078d8f8d7cde4ecb5e7b08d96b9abd538ea5.zip |
s3: Fix pdb_ads_enum_group_members for empty groups
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ads.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index 91a981b91f..490c78c88c 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -1061,7 +1061,9 @@ static NTSTATUS pdb_ads_enum_group_members(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, uint32_t, num_members); |