3 things:
authorVolker Lendecke <vlendec@samba.org>
Mon, 31 Mar 2003 11:02:22 +0000 (11:02 +0000)
committerVolker Lendecke <vlendec@samba.org>
Mon, 31 Mar 2003 11:02:22 +0000 (11:02 +0000)
* Remove 'ldap del only sam attr' after asking Lars Mueller from SuSE first.
  It is replaced by 'ldap delete dn'

* Fix a typo in docs.

* Document 'set primary group script'. Alexander, could you check the
  file in smbdotconf/ please? Thanks.

Volker
(This used to be commit f0a32b9c1bdec504ec285486adc05936547f6dc5)

docs/docbook/manpages/smb.conf.5.sgml
docs/docbook/smbdotconf/ldap/ldapdeletedn.xml
docs/docbook/smbdotconf/ldap/ldapdelonlysamattr.xml [deleted file]
docs/docbook/smbdotconf/logon/setprimarygroupscript.xml [new file with mode: 0644]
source3/param/loadparm.c

index ef4f9cd783ae38dc0d3735912cf4ffb10393fe44..90b636fc87398a6f6cefa85547e70c950812ba32 100644 (file)
@@ -657,7 +657,6 @@ alias|alias|alias|alias...
                
                <listitem><para><link linkend="LDAPADMINDN"><parameter>ldap admin dn</parameter></link></para></listitem>
                <listitem><para><link linkend="LDAPDELETEDN"><parameter>ldap delete dn</parameter></link></para></listitem>
-               <listitem><para><link linkend="LDAPDELONLYSAMATTR"><parameter>ldap del only sam attr</parameter></link></para></listitem>
                <listitem><para><link linkend="LDAPFILTER"><parameter>ldap filter</parameter></link></para></listitem>
                 <listitem><para><link linkend="LDAPPORT"><parameter>ldap port</parameter></link></para></listitem>
                 <listitem><para><link linkend="LDAPSERVER"><parameter>ldap server</parameter></link></para></listitem>
@@ -746,6 +745,7 @@ alias|alias|alias|alias...
                <listitem><para><link linkend="ROOTDIRECTORY"><parameter>root directory</parameter></link></para></listitem>
                <listitem><para><link linkend="SECURITY"><parameter>security</parameter></link></para></listitem>
                <listitem><para><link linkend="SERVERSTRING"><parameter>server string</parameter></link></para></listitem>
+               <listitem><para><link linkend="SETPRIMARYGROUPSCRIPT"><parameter>set primary group script</parameter></link></para></listitem>
                <listitem><para><link linkend="SHOWADDPRINTERWIZARD"><parameter>show add printer wizard</parameter></link></para></listitem>
                <listitem><para><link linkend="SHUTDOWNSCRIPT"><parameter>shutdown script</parameter></link></para></listitem>
                <listitem><para><link linkend="SMBPASSWDFILE"><parameter>smb passwd file</parameter></link></para></listitem>
@@ -3440,7 +3440,7 @@ df $1 | tail -1 | awk '{print $2" "$4}'
                </varlistentry>
        
                <varlistentry>
-               <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.
@@ -3451,16 +3451,6 @@ df $1 | tail -1 | awk '{print $2" "$4}'
                </varlistentry>
 
 
-               <varlistentry>
-               <term><anchor id="LDAPDELONLYSAMATTR"/>ldap del only sam attr (G)</term>
-               <listitem><para> Inverted synonym for <link linkend="LDAPDELETEDN"><parameter>
-               ldap delete dn</parameter></link>.</para>
-               </listitem>
-               </varlistentry>
-
-
-
-
                <varlistentry>
                <term><anchor id="LDAPFILTER"/>ldap filter (G)</term>
                <listitem><para>This parameter specifies the RFC 2254 compliant LDAP search filter.
@@ -6955,6 +6945,25 @@ print5|My Printer 5
                </listitem>
                </varlistentry>
 
+               <varlistentry>
+               <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>
+               </varlistentry>
+
 
 
                <varlistentry>
index 2b081853c69962cde87f83bfd1c2a791dbdfbd36..f4a820c16db620a7cb97b971b76753ee826c1f68 100644 (file)
@@ -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 (file)
index bae5b51..0000000
+++ /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 (file)
index 0000000..c4b2aa1
--- /dev/null
@@ -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>
index d17db1638119a081b5af1f2c502f98405bb87138..9d5d279b31f079dd3d3209005e69647cc016d0be 100644 (file)
@@ -1044,7 +1044,6 @@ static struct parm_struct parm_table[] = {
        {"ldap passwd sync", P_ENUM, P_GLOBAL, &Globals.ldap_passwd_sync, NULL, enum_ldap_passwd_sync, FLAG_ADVANCED | FLAG_DEVELOPER},
        {"ldap trust ids", P_BOOL, P_GLOBAL, &Globals.ldap_trust_ids, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
        {"ldap delete dn", P_BOOL, P_GLOBAL, &Globals.ldap_delete_dn, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
-       {"ldap del only sam attr", P_BOOLREV, P_GLOBAL, &Globals.ldap_delete_dn, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},
 
        {"Miscellaneous Options", P_SEP, P_SEPARATOR},
        {"add share command", P_STRING, P_GLOBAL, &Globals.szAddShareCommand, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER},