summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2021-01-29 13:49:02 +1300
committerStefan Metzmacher <metze@samba.org>2021-11-02 20:36:16 +0000
commite6aff15a77403058656dd82ee36ce3491e5ebd78 (patch)
treee1b1a497168268915ecc9c9c0ebd9237b879b655
parent461096c521ce3e0c884161bf75902a8963878e61 (diff)
downloadsamba-e6aff15a77403058656dd82ee36ce3491e5ebd78.tar.gz
ldb: improve comments for ldb_module_connect_backend()
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)
-rw-r--r--lib/ldb/common/ldb_modules.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/ldb/common/ldb_modules.c b/lib/ldb/common/ldb_modules.c
index cc067abdfe0..4366f05e066 100644
--- a/lib/ldb/common/ldb_modules.c
+++ b/lib/ldb/common/ldb_modules.c
@@ -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.