ldb: Clarify LDB_MODULES_PATH is used
authorJakub Hrozek <jakub.hrozek@posteo.se>
Fri, 16 Jan 2015 17:52:48 +0000 (18:52 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Apr 2017 13:46:26 +0000 (15:46 +0200)
Make it (hopefully more) clear where modules are loaded from.

Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
lib/ldb/include/ldb.h

index afcf9eb6351fe743a5416fe2c53a6ea7c7327c3e..1160a48cc06d1ee487a106400e26dc278f791a7b 100644 (file)
@@ -1056,6 +1056,10 @@ int ldb_global_init(void);
   \param mem_ctx pointer to a talloc memory context. Pass NULL if there is
   no suitable context available.
 
+  \note The LDB modules will be loaded from directory specified by the environment
+  variable LDB_MODULES_PATH. If the variable is not specified, the compiled-in default
+  is used.
+
   \return pointer to ldb_context that should be free'd (using talloc_free())
   at the end of the program.
 */