ldb: pass module init errors back to the caller
commit86508d7a463b346121e8d53dbca4201d70ce1d2c
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Feb 2014 02:19:41 +0000 (5 15:19 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:14 +0000 (15 12:46 +0200)
tree05ac18d0c4a63813ff799ee6875c826a6660e74e
parentad4a09cf767537b06d880a2249cb7e392dd84fe7
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>
(cherry picked from commit e76bbef8b796441985550c553db1ab48d6495709)
lib/ldb/common/ldb.c