summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/smbdotconf')
-rw-r--r--docs/docbook/smbdotconf/ldap/ldapdeletedn.xml2
-rw-r--r--docs/docbook/smbdotconf/ldap/ldapdelonlysamattr.xml6
-rw-r--r--docs/docbook/smbdotconf/logon/setprimarygroupscript.xml17
3 files changed, 18 insertions, 7 deletions
diff --git a/docs/docbook/smbdotconf/ldap/ldapdeletedn.xml b/docs/docbook/smbdotconf/ldap/ldapdeletedn.xml
index 2b081853c6..f4a820c16d 100644
--- a/docs/docbook/smbdotconf/ldap/ldapdeletedn.xml
+++ b/docs/docbook/smbdotconf/ldap/ldapdeletedn.xml
@@ -1,5 +1,5 @@
<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="LDAPDELETEDN"/>ldap del only sam attr (G)</term>
+ <term><anchor id="LDAPDELETEDN"/>ldap delete dn (G)</term>
<listitem><para> This parameter specifies whether a delete
operation in the ldapsam deletes the complete entry or only the attributes
specific to Samba.
diff --git a/docs/docbook/smbdotconf/ldap/ldapdelonlysamattr.xml b/docs/docbook/smbdotconf/ldap/ldapdelonlysamattr.xml
deleted file mode 100644
index bae5b51e60..0000000000
--- a/docs/docbook/smbdotconf/ldap/ldapdelonlysamattr.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="LDAPDELONLYSAMATTR"/>ldap del only sam attr (G)</term>
- <listitem><para> Inverted synonym for <link linked="LDAPDELETEDN"><parameter moreinfo="none">
- ldap delete dn</parameter></link>.</para>
- </listitem>
- </samba:parameter>
diff --git a/docs/docbook/smbdotconf/logon/setprimarygroupscript.xml b/docs/docbook/smbdotconf/logon/setprimarygroupscript.xml
new file mode 100644
index 0000000000..c4b2aa1d92
--- /dev/null
+++ b/docs/docbook/smbdotconf/logon/setprimarygroupscript.xml
@@ -0,0 +1,17 @@
+<samba:parameter xmlns:samba="http://samba.org/common"><term><anchor id="SETPRIMARYGROUPSCRIPT"/>set primary group script (G)</term>
+ <listitem><para>Thanks to the Posix subsystem in NT a
+ Windows User has a primary group in addition to the
+ auxiliary groups. This script sets the primary group
+ in the unix userdatase when an administrator sets the
+ primary group from the windows user manager or when
+ fetching a SAM with <command>net rpc
+ vampire</command>. <parameter>%u</parameter> will be
+ replaced with the user whose primary group is to be
+ set. <parameter>%g</parameter> will be replaced with
+ the group to set.
+
+ <para>Default: <emphasis>No default value</emphasis></para>
+
+ <para>Example: <command>set primary group script = /usr/sbin/usermod -g '%g' '%u'</command></para>
+ </listitem>
+ </samba:parameter>