diff --git a/docs/docbook/smbdotconf/winbind/idmapgid.xml b/docs/docbook/smbdotconf/winbind/idmapgid.xml
new file mode 100644
index 00000000000..8bd46a80c60
--- /dev/null
+++ b/docs/docbook/smbdotconf/winbind/idmapgid.xml
@@ -0,0 +1,18 @@
+
+
+
+ The idmap gid parameter specifies the range of group ids that are allocated for
+ the purpose of mapping UNX groups to NT group SIDs. This range of group ids should have no
+ existing local or NIS groups within it as strange conflicts can occur otherwise.
+
+ The availability of an idmap gid range is essential for correct operation of
+ all group mapping.
+
+ Default: idmap gid = <empty string>
+
+ Example: idmap gid = 10000-20000
+
+
diff --git a/docs/docbook/smbdotconf/winbind/idmapuid.xml b/docs/docbook/smbdotconf/winbind/idmapuid.xml
new file mode 100644
index 00000000000..5e6a245bfea
--- /dev/null
+++ b/docs/docbook/smbdotconf/winbind/idmapuid.xml
@@ -0,0 +1,14 @@
+
+
+ The idmap uid parameter specifies the range of user ids that are allocated for use
+ in mapping UNIX users to NT user SIDs. This range of ids should have no existing local
+ or NIS users within it as strange conflicts can occur otherwise.
+
+ Default: idmap uid = <empty string>
+
+ Example: idmap uid = 10000-20000
+
+
diff --git a/docs/docbook/smbdotconf/winbind/winbindgid.xml b/docs/docbook/smbdotconf/winbind/winbindgid.xml
index a8414e9e8c0..e00e5763892 100644
--- a/docs/docbook/smbdotconf/winbind/winbindgid.xml
+++ b/docs/docbook/smbdotconf/winbind/winbindgid.xml
@@ -3,6 +3,8 @@
advanced="1" developer="1" hide="1"
xmlns:samba="http://samba.org/common">
+ This parameter is now an alias for idmap gid
+
The winbind gid parameter specifies the range of group
ids that are allocated by the winbindd
8 daemon. This range of group ids should have no
diff --git a/docs/docbook/smbdotconf/winbind/winbinduid.xml b/docs/docbook/smbdotconf/winbind/winbinduid.xml
index 6fee40fcb85..0f61bac13c8 100644
--- a/docs/docbook/smbdotconf/winbind/winbinduid.xml
+++ b/docs/docbook/smbdotconf/winbind/winbinduid.xml
@@ -3,11 +3,12 @@
advanced="1" developer="1" hide="1"
xmlns:samba="http://samba.org/common">
- The winbind gid parameter specifies the range of group
- ids that are allocated by the winbindd
- 8 daemon. This range of ids should have no
- existing local or NIS users within it as strange conflicts can
- occur otherwise.
+ This parameter is now an alias for idmap uid
+
+ The winbind gid parameter specifies the range of user ids that are allocated by the
+ winbindd 8
+ daemon. This range of ids should have no existing local or NIS users within it as strange
+ conflicts can occur otherwise.
Default: winbind uid = <empty string>