s3: Fix EnumDomainAliases when no aliases are in LDAP
authorVolker Lendecke <vl@samba.org>
Thu, 10 Jun 2010 13:40:14 +0000 (15:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Jun 2010 14:07:28 +0000 (16:07 +0200)
commit1439a1d7ff406dd5dce885100349751151c14bf6
treed0703f75ffdfbf7a60da6d0404c3769e9c0e0a70
parentcc740fb5eb56a0875703753d4a116d2fe33ec186
s3: Fix EnumDomainAliases when no aliases are in LDAP

We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just
like W2k8 does.

usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED
(cherry picked from commit f66cc827096c53d4d16b8c850c83a3b5664e9725)

Fix bug #7262 (Unable to maintain users' groups via UsrMgr).
source3/passdb/pdb_ldap.c