s4-ldb: allow modules to override error return values
authorAndrew Tridgell <tridge@samba.org>
Tue, 29 Dec 2009 00:40:30 +0000 (11:40 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Jan 2010 21:16:55 +0000 (08:16 +1100)
commit81e8a18181d3f24ac837ae0295fc2fca927a7ddf
tree3caee875972c01eb943cfda4c06a35536128d181
parent302dcd022633a928050c916561a6f640216fb247
s4-ldb: allow modules to override error return values

The samldb module overrides the error code for some returns when
handling primaryGroupID. We need to take the error from the async
callback to allow this to work reliably
source4/lib/ldb/common/ldb_modules.c