]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb: improve comments for ldb_module_connect_backend()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 29 Jan 2021 00:49:02 +0000 (13:49 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Nov 2021 21:52:16 +0000 (21:52 +0000)
There is no flags argument.
There are more URI forms.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 48068a58df0313cd904f27e2c918ee10275ae373)

lib/ldb/common/ldb_modules.c

index cc067abdfe046240efcff240e692bad0e9e5fb09..4366f05e066c53c203fe9909e707cfeb6d16b0ce 100644 (file)
@@ -173,11 +173,15 @@ int ldb_register_backend(const char *url_prefix, ldb_connect_fn connectfn, bool
 
 /*
    Return the ldb module form of a database.
-   The URL can either be one of the following forms
-   ldb://path
-   ldapi://path
-
-   flags is made up of LDB_FLG_*
+   The URL looks something like this:
+     tdb://PATH
+     ldb://PATH
+     mdb://PATH
+     ldapi://PATH
+     PATH          (unadorned PATH defaults to tdb://)
+
+   for a complete list of backends (including possibly unmaintained ones) grep
+   for calls to ldb_register_backend().
 
    the options are passed uninterpreted to the backend, and are
    backend specific.