diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/param/loadparm.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 454ffa5721..109827181f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1084,6 +1084,7 @@ const char *lp_idmap_backend(void); int lp_idmap_cache_time(void); 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); 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 f581c8e1b6..adadeec0aa 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2992,6 +2992,11 @@ done: } +bool lp_idmap_default_range(uint32_t *low, uint32_t *high) +{ + return lp_idmap_range("*", low, high); +} + /*************************************************************************** Handle the DEBUG level list. ***************************************************************************/ |