smbpasswd -W docs patch from Aruna Prabakar <aruna.prabakar@hp.com>
authorGerald Carter <jerry@samba.org>
Fri, 26 May 2006 23:04:09 +0000 (23:04 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 13:47:19 +0000 (08:47 -0500)
(This used to be commit 54cab2865e26d3866296a35f1cbd21ab1855217b)

docs/manpages-3/smbpasswd.8.xml

index cce4d14cf9ecb788a25a09c6f54d9d5d536b0924..766fff66828519f305d5a4c5d6e144a6eb65b9cd 100644 (file)
@@ -30,6 +30,7 @@
                <arg choice="opt">-h</arg>      
                <arg choice="opt">-s</arg>      
                <arg choice="opt">-w pass</arg> 
+               <arg choice="opt">-W</arg>
                <arg choice="opt">-i</arg>
                <arg choice="opt">-L</arg>
                <arg choice="opt">username</arg>        
                </listitem>
                </varlistentry>
 
+               <varlistentry>
+               <term>-W</term>
+               <listitem><para><command>NOTE: </command> This option is same as "-w"
+               except that the password should be entered using stdin.
+               </para>
+               <para>This parameter is only available if Samba
+               has been compiled with LDAP support. The <parameter>-W</parameter>
+               switch is used to specify the password to be used with the
+               <smbconfoption name="ldap admin dn"/>.  Note that the password is stored in
+               the <filename>secrets.tdb</filename> and is keyed off
+               of the admin's DN.  This means that if the value of <parameter>ldap
+               admin dn</parameter> ever changes, the password will need to be
+               manually updated as well.
+               </para>
+               </listitem>
+               </varlistentry>
+
+
                <varlistentry>
                <term>-i</term>
                <listitem><para>This option tells smbpasswd that the account