diff options
Diffstat (limited to 'docs/htmldocs/smbpasswd.8.html')
-rw-r--r-- | docs/htmldocs/smbpasswd.8.html | 120 |
1 files changed, 46 insertions, 74 deletions
diff --git a/docs/htmldocs/smbpasswd.8.html b/docs/htmldocs/smbpasswd.8.html index 223cd02521..6b227f9d1e 100644 --- a/docs/htmldocs/smbpasswd.8.html +++ b/docs/htmldocs/smbpasswd.8.html @@ -5,7 +5,7 @@ >smbpasswd</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.77+"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -37,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >smbpasswd</B -> [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-i] [-L] [username]</P +> [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-i] [-L] [username]</P ></DIV ><DIV CLASS="REFSECT1" @@ -107,20 +107,16 @@ CLASS="REFENTRYTITLE" was typed correctly. No passwords will be echoed on the screen whilst being typed. If you have a blank SMB password (specified by the string "NO PASSWORD" in the smbpasswd file) then just press - the <Enter> key when asked for your old password. </P + the <Enter> key when asked for your old password. </P ><P >smbpasswd can also be used by a normal user to change their SMB password on remote machines, such as Windows NT Primary Domain - Controllers. See the (<TT + Controllers. See the (<VAR CLASS="PARAMETER" -><I ->-r</I -></TT ->) and <TT +>-r</VAR +>) and <VAR CLASS="PARAMETER" -><I ->-U</I -></TT +>-U</VAR > options below. </P ><P @@ -151,7 +147,7 @@ CLASS="VARIABLELIST" ><P >This option specifies that the username following should be added to the local smbpasswd file, with the - new password typed (type <Enter> for the old password). This + new password typed (type <Enter> for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password command. Note that the default passdb backends require @@ -181,13 +177,13 @@ CLASS="FILENAME" ><DD ><P >This option specifies that the username following - should be <TT + should be <CODE CLASS="CONSTANT" ->disabled</TT +>disabled</CODE > in the local smbpasswd - file. This is done by writing a <TT + file. This is done by writing a <CODE CLASS="CONSTANT" ->'D'</TT +>'D'</CODE > flag into the account control space in the smbpasswd file. Once this is done all attempts to authenticate via SMB using this username @@ -212,9 +208,9 @@ CLASS="REFENTRYTITLE" ><DD ><P >This option specifies that the username following - should be <TT + should be <CODE CLASS="CONSTANT" ->enabled</TT +>enabled</CODE > in the local smbpasswd file, if the account was previously disabled. If the account was not disabled this option has no effect. Once the account is enabled then @@ -240,11 +236,9 @@ CLASS="REFENTRYTITLE" >-D debuglevel</DT ><DD ><P -><TT +><VAR CLASS="REPLACEABLE" -><I ->debuglevel</I -></TT +>debuglevel</VAR > is an integer from 0 to 10. The default value if this parameter is not specified is zero. </P @@ -291,30 +285,24 @@ CLASS="COMMAND" ><P >This option allows a user to specify what machine they wish to change their password on. Without this parameter - smbpasswd defaults to the local host. The <TT + smbpasswd defaults to the local host. The <VAR CLASS="REPLACEABLE" -><I >remote - machine name</I -></TT + machine name</VAR > is the NetBIOS name of the SMB/CIFS server to contact to attempt the password change. This name is resolved into an IP address using the standard name resolution - mechanism in all programs of the Samba suite. See the <TT + mechanism in all programs of the Samba suite. See the <VAR CLASS="PARAMETER" -><I >-R - name resolve order</I -></TT + name resolve order</VAR > parameter for details on changing this resolving mechanism. </P ><P >The username whose password is changed is that of the - current UNIX logged on user. See the <TT + current UNIX logged on user. See the <VAR CLASS="PARAMETER" -><I ->-U username</I -></TT +>-U username</VAR > parameter for details on changing the password for a different username. </P @@ -350,9 +338,9 @@ CLASS="EMPHASIS" ><UL ><LI ><P -><TT +><CODE CLASS="CONSTANT" ->lmhosts</TT +>lmhosts</CODE >: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the <SPAN @@ -366,9 +354,9 @@ CLASS="REFENTRYTITLE" ></LI ><LI ><P -><TT +><CODE CLASS="CONSTANT" ->host</TT +>host</CODE >: Do a standard host name to IP address resolution, using the system <TT CLASS="FILENAME" @@ -386,31 +374,27 @@ CLASS="FILENAME" ></LI ><LI ><P -><TT +><CODE CLASS="CONSTANT" ->wins</TT +>wins</CODE >: Query a name with - the IP address listed in the <TT + the IP address listed in the <VAR CLASS="PARAMETER" -><I ->wins server</I -></TT +>wins server</VAR > parameter. If no WINS server has been specified this method will be ignored.</P ></LI ><LI ><P -><TT +><CODE CLASS="CONSTANT" ->bcast</TT +>bcast</CODE >: Do a broadcast on each of the known local interfaces listed in the - <TT + <VAR CLASS="PARAMETER" -><I ->interfaces</I -></TT +>interfaces</VAR > parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.</P @@ -446,11 +430,9 @@ CLASS="REFENTRYTITLE" ><DD ><P >This option may only be used in conjunction - with the <TT + with the <VAR CLASS="PARAMETER" -><I ->-r</I -></TT +>-r</VAR > option. When changing a password on a remote machine it allows the user to specify the user name on that machine whose password will be changed. It @@ -492,34 +474,28 @@ CLASS="COMMAND" <B CLASS="COMMAND" >--with-ldapsam</B -> option. The <TT +> option. The <VAR CLASS="PARAMETER" -><I ->-w</I -></TT +>-w</VAR > switch is used to specify the password to be used with the <A HREF="smb.conf.5.html#LDAPADMINDN" TARGET="_top" -><TT +><VAR CLASS="PARAMETER" -><I >ldap admin - dn</I -></TT + dn</VAR ></A >. Note that the password is stored in the <TT CLASS="FILENAME" >secrets.tdb</TT > and is keyed off - of the admin's DN. This means that if the value of <TT + of the admin's DN. This means that if the value of <VAR CLASS="PARAMETER" -><I >ldap - admin dn</I -></TT + admin dn</VAR > ever changes, the password will need to be manually updated as well. </P @@ -578,17 +554,13 @@ CLASS="COMMAND" is to add a restriction to the hosts that may access the <B CLASS="COMMAND" > smbd</B -> running on the local machine by specifying either <TT +> running on the local machine by specifying either <VAR CLASS="PARAMETER" -><I >allow - hosts</I -></TT -> or <TT + hosts</VAR +> or <VAR CLASS="PARAMETER" -><I ->deny hosts</I -></TT +>deny hosts</VAR > entry in the <SPAN CLASS="CITEREFENTRY" |