summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages-3/smbpasswd.8.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/manpages-3/smbpasswd.8.xml b/docs/manpages-3/smbpasswd.8.xml
index cce4d14cf9..766fff6682 100644
--- a/docs/manpages-3/smbpasswd.8.xml
+++ b/docs/manpages-3/smbpasswd.8.xml
@@ -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>
@@ -331,6 +332,24 @@
</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
being changed is an interdomain trust account. Currently this is used