Rework SAMR functions to avoid gendb_search()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 Mar 2008 06:26:01 +0000 (17:26 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 13 Mar 2008 06:26:01 +0000 (17:26 +1100)
commitfacbc8dfa5188fdd610f400b5be6e05bc33b0820
tree5d8d0441bbb717cc9770d213f8ffac27d52f116a
parenta3e1f2830679a56366f0080115de504cdb0144f7
Rework SAMR functions to avoid gendb_search()

The gendb_*() API does not return error codes, and mixes error returns
with the count of returned entries.

Andrew Bartlett
source/rpc_server/samr/dcesrv_samr.c