ldb: pass module init errors back to the caller
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Feb 2014 02:19:41 +0000 (15:19 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Feb 2014 07:42:25 +0000 (08:42 +0100)
commite76bbef8b796441985550c553db1ab48d6495709
tree7df80262634c8837157d0afa74b391c69ac5cdb9
parent262c3de3f880bb08b1220d1e755bb31365dab49b
ldb: pass module init errors back to the caller

This makes provision errors clearer in Samba, as we can now get
permission denied errors presented from LDB modules.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
lib/ldb/common/ldb.c