Lines Matching refs:backend
68 struct ldb_backend *backend;
70 for (backend = ldb_backends; backend; backend = backend->next) {
71 if (strncmp(backend->name, url, strlen(backend->name)) == 0) {
72 return backend->connect_fn;
80 register a new ldb backend
84 struct ldb_backend *backend = talloc(talloc_autofree_context(), struct ldb_backend);
92 backend->name = talloc_strdup(backend, url_prefix);
93 backend->connect_fn = connectfn;
94 DLIST_ADD(ldb_backends, backend);
106 the options are passed uninterpreted to the backend, and are
107 backend specific.
109 This allows modules to get at only the backend module, for example where a module
110 may wish to direct certain requests at a particular backend.
116 char *backend;
120 backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
123 backend = talloc_strdup(ldb, "tdb");
126 fn = ldb_find_backend(backend);
129 if (ldb_try_load_dso(ldb, backend) == 0) {
130 fn = ldb_find_backend(backend);
134 talloc_free(backend);
137 ldb_debug(ldb, LDB_DEBUG_FATAL, "Unable to find backend for '%s'\n", url);
195 the options are passed uninterpreted to the backend, and are
196 backend specific
257 ldb_asprintf_errstring(ldb, "unable to find module or backend to handle operation: " #op); \
276 /* no error string was setup by the backend */
300 /* no error string was setup by the backend */
322 /* no error string was setup by the backend */
406 /* no error string was setup by the backend */
1098 set backend specific opaque parameters