Don't load LDB_MODULESDIR as a module file
authorTimur I. Bakeyev <timur@iXsystems.com>
Wed, 14 Feb 2018 01:31:58 +0000 (02:31 +0100)
committerUri Simchoni <uri@samba.org>
Mon, 19 Feb 2018 06:36:23 +0000 (07:36 +0100)
commit3450dd6a50d1d08f49de5ff98f2ce20f31081636
treede19f99afbe3ab95ef654930a7caaded4b078903
parentf8313d715b073a36b95c09f40c1f2dfc9bf7d5b6
Don't load LDB_MODULESDIR as a module file

We are setting modules directory here(LDB_MODULESDIR) so treat it this
way, no need to attempt to load it as a module file.

Signed-off-by: Timur I. Bakeyev <timur@iXsystems.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
lib/ldb/common/ldb_modules.c