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)
committerVolker Lendecke <vl@samba.org>
Thu, 10 Jun 2010 13:28:26 +0000 (15:28 +0200)
commitf66cc827096c53d4d16b8c850c83a3b5664e9725
tree12d6505a748737f7e3a8a056778e3533a6a6c039
parentba809ecb8ab217e4376bf75d2300e146b62b88eb
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
source3/passdb/pdb_ldap.c