1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

smbpasswd -W docs patch from Aruna Prabakar <aruna.prabakar@hp.com>

(This used to be commit 54cab2865e26d3866296a35f1cbd21ab1855217b)
This commit is contained in:
Gerald Carter 2006-05-26 23:04:09 +00:00 committed by Gerald W. Carter
parent f310bea8a3
commit 7ab7991da9

View 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>
@ -330,6 +331,24 @@
</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