ldb: Add a env variable to disable RTLD_DEEPBIND.
authorAndreas Schneider <asn@samba.org>
Tue, 4 Mar 2014 12:50:41 +0000 (13:50 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 Apr 2014 12:56:06 +0000 (14:56 +0200)
commit11e87cdbb694cf542f3b7633326005abd49e43f1
tree6476317000cbfdddf3e8d8e2ae5e76c9165a61e7
parent4dca841d51dc1f11d62d86a31d8545dbfdcf7798
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>
lib/ldb/common/ldb_modules.c