"range" option missing from idmap_autorid man page ?

Christof Schmitt cs at samba.org
Thu Dec 3 22:49:59 UTC 2015


On Fri, Dec 04, 2015 at 12:16:30AM +0530, Varun Mittal3 wrote:
> 
> Hi
> 
> Just noticed that in the 'idmap_autorid' man page, [Idmap Options] section
> misses any description for "range" configuration parameter.
> 
> The examples however have that.

Hi Varun,

see the attached patch.

Christof
-------------- next part --------------
From b5be11baac961612efdb8dfbd34aeb97b5f06ad4 Mon Sep 17 00:00:00 2001
From: Christof Schmitt <cs at samba.org>
Date: Thu, 3 Dec 2015 15:47:24 -0700
Subject: [PATCH] docs-xml: Document range parameter for idmap_autorid

Signed-off-by: Christof Schmitt <cs at samba.org>
---
 docs-xml/manpages/idmap_autorid.8.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/docs-xml/manpages/idmap_autorid.8.xml b/docs-xml/manpages/idmap_autorid.8.xml
index be80dcb..f20769e 100644
--- a/docs-xml/manpages/idmap_autorid.8.xml
+++ b/docs-xml/manpages/idmap_autorid.8.xml
@@ -38,6 +38,21 @@
 
 	<variablelist>
 		<varlistentry>
+		<term>range = low - high</term>
+		<listitem><para>
+			Defines the available matching uid and gid
+			range for which the backend is
+			authoritative. Note that the range acts as a
+			filter.  If algorithmically determined UID or
+			GID fall outside the range, they are ignored
+			and the corresponding map is discarded.  It is
+			intended as a way to avoid accidental UID/GID
+			overlaps between local and remotely defined
+			IDs.
+		</para></listitem>
+		</varlistentry>
+
+		<varlistentry>
 		<term>rangesize = numberofidsperdomain</term>
 		<listitem><para>
 			Defines the number of uids/gids available per
-- 
1.7.1



More information about the samba-technical mailing list