s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap.
authorGünther Deschner <gd@samba.org>
Sun, 7 Jun 2009 00:02:26 +0000 (02:02 +0200)
committerGünther Deschner <gd@samba.org>
Sun, 7 Jun 2009 00:24:21 +0000 (02:24 +0200)
commitfbb1e990ab3915956217c2747a983e9ae0469fd3
treea69c594a0b06f32f482bb6958d40d1ca93f6f3d2
parenta783b1e4dab4617e764ced86298c51ea57f6cb98
s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap.

when _samr_LookupRids is called with no rids, it needs to return
NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY).

Found by RPC-SAMR torture test.

Guenther
source3/passdb/pdb_ldap.c