summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-01-28 16:35:50 +0100
committerMichael Adam <obnox@samba.org>2013-02-05 17:36:32 +0100
commit58b302d76a83880744d637f95b4aa7f80c040ea8 (patch)
tree8135a00cb362508ffbcaa869f245475ff5a989fa /source3/param
parent1342bdd55c9759bc23f93298b34ed8d587816e6b (diff)
downloadsamba-58b302d76a83880744d637f95b4aa7f80c040ea8.tar.gz
samba-58b302d76a83880744d637f95b4aa7f80c040ea8.tar.bz2
samba-58b302d76a83880744d637f95b4aa7f80c040ea8.zip
s3:param: add utility function lp_idmap_default_range()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
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.
***************************************************************************/