summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 4440d3c756..925039df76 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1085,6 +1085,7 @@ int lp_idmap_negative_cache_time(void);
bool lp_idmap_range(const char *domain_name, uint32_t *low, uint32_t *high);
bool lp_idmap_default_range(uint32_t *low, uint32_t *high);
const char *lp_idmap_backend(const char *domain_name);
+const char *lp_idmap_default_backend (void);
int lp_keepalive(void);
bool lp_passdb_expand_explicit(void);
char *lp_ldap_suffix(TALLOC_CTX *ctx);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index dab6d34040..5bf430da4e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2982,6 +2982,11 @@ done:
return backend;
}
+const char *lp_idmap_default_backend(void)
+{
+ return lp_idmap_backend("*");
+}
+
/***************************************************************************
Handle the DEBUG level list.
***************************************************************************/