ldb: Add a env variable to disable RTLD_DEEPBIND.
commit0c1511e670369bb88d48ac72828d46e2b30dfbbd
authorAndreas Schneider <asn@samba.org>
Tue, 4 Mar 2014 12:50:41 +0000 (4 13:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:14 +0000 (15 12:46 +0200)
treef6932e80df0b0c0e5e59b3ab4a8aaaaf97172f1f
parent86508d7a463b346121e8d53dbca4201d70ce1d2c
ldb: Add a env variable to disable RTLD_DEEPBIND.

We need a way to disable this in order to allow the
ldb_*ldap modules to work with a preloaded socket wrapper.

The only known user is the bind_dlz module,
but symbol versioniong might be enough...

So in future we may remove this completely
or at least invert the default behavior.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 11e87cdbb694cf542f3b7633326005abd49e43f1)
lib/ldb/common/ldb_modules.c