Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/htmldocs/manpages/smbpasswd.8.html

    r44 r134  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbpasswd</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbpasswd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd &#8212; change a user's SMB password</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbpasswd</code> [-a] [-c &lt;config file&gt;] [-x] [-d] [-e] [-D debuglevel] [-n] [-r &lt;remote machine&gt;] [-R &lt;name resolve order&gt;] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" lang="en"><a name="id259391"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The smbpasswd program has several different
     1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbpasswd</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbpasswd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd &#8212; change a user's SMB password</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbpasswd</code> [-a] [-c &lt;config file&gt;] [-x] [-d] [-e] [-D debuglevel] [-n] [-r &lt;remote machine&gt;] [-R &lt;name resolve order&gt;] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" lang="en"><a name="id283379"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The smbpasswd program has several different
    22        functions, depending on whether it is run by the <span class="emphasis"><em>root</em></span> user
    33        or not. When run as a normal user it allows the user to change
     
    99        however in that it is not <span class="emphasis"><em>setuid root</em></span> but works in
    1010        a client-server mode and communicates with a
    11         locally running <a href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a>. As a consequence in order for this to
     11        locally running <a class="citerefentry" href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a>. As a consequence in order for this to
    1212        succeed the smbd daemon must be running on the local machine. On a
    1313        UNIX machine the encrypted SMB passwords are usually stored in
    14         the <a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> file. </p><p>When run by an ordinary user with no options, smbpasswd
     14        the <a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> file. </p><p>When run by an ordinary user with no options, smbpasswd
    1515        will prompt them for their old SMB password and then ask them
    1616        for their new password twice, to ensure that the new password
     
    2626        smbpasswd</code> accesses the local smbpasswd file
    2727        directly, thus enabling changes to be made even if smbd is not
    28         running. </p></div><div class="refsect1" lang="en"><a name="id260409"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><p>
     28        running. </p></div><div class="refsect1" lang="en"><a name="id282931"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><p>
    2929                This option specifies that the username following should be added to the local smbpasswd file, with the new
    3030                password typed (type &lt;Enter&gt; for the old password). This option is ignored if the username following
     
    4747                will fail. </p><p>If the smbpasswd file is in the 'old' format (pre-Samba 2.0
    4848                format) there is no space in the user's password entry to write
    49                 this information and the command will FAIL. See <a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for details on the 'old' and new password file formats.
     49                this information and the command will FAIL. See <a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for details on the 'old' and new password file formats.
    5050                </p><p>This option is only available when running smbpasswd as
    5151                root.</p></dd><dt><span class="term">-e</span></dt><dd><p>This option specifies that the username following
     
    5555                the user will be able to authenticate via SMB once again. </p><p>If the smbpasswd file is in the 'old' format, then <code class="literal">
    5656                smbpasswd</code> will FAIL to enable the account. 
    57                 See <a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for
     57                See <a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for
    5858                details on the 'old' and new password file formats. </p><p>This option is only available when running smbpasswd as root.
    5959                </p></dd><dt><span class="term">-D debuglevel</span></dt><dd><p><em class="replaceable"><code>debuglevel</code></em> is an integer
     
    9595                 cause names to be resolved as follows: </p><div class="itemizedlist"><ul type="disc"><li><p><code class="constant">lmhosts</code>: Lookup an IP
    9696            address in the Samba lmhosts file. If the line in lmhosts has
    97             no name type attached to the NetBIOS name (see the <a href="lmhosts.5.html"><span class="citerefentry"><span class="refentrytitle">lmhosts</span>(5)</span></a> for details) then
     97            no name type attached to the NetBIOS name (see the <a class="citerefentry" href="lmhosts.5.html"><span class="citerefentry"><span class="refentrytitle">lmhosts</span>(5)</span></a> for details) then
    9898            any name type matches for lookup.</p></li><li><p><code class="constant">host</code>: Do a standard host
    9999            name to IP address resolution, using the system <code class="filename">/etc/hosts
     
    111111            reliable of the name resolution methods as it depends on the
    112112            target host being on a locally connected subnet.</p></li></ul></div><p>The default order is <code class="literal">lmhosts, host, wins, bcast</code>
    113                 and without this parameter or any entry in the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file the name resolution methods will
     113                and without this parameter or any entry in the <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file the name resolution methods will
    114114                be attempted in this order. </p></dd><dt><span class="term">-m</span></dt><dd><p>This option tells smbpasswd that the account
    115115                being changed is a MACHINE account. Currently this is used
     
    129129                has been compiled with LDAP support. The <em class="parameter"><code>-w</code></em>
    130130                switch is used to specify the password to be used with the
    131                 <a class="indexterm" name="id300725"></a>ldap admin dn.  Note that the password is stored in
     131                <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a>.  Note that the password is stored in
    132132                the <code class="filename">secrets.tdb</code> and is keyed off
    133133                of the admin's DN.  This means that if the value of <em class="parameter"><code>ldap
     
    139139                has been compiled with LDAP support. The <em class="parameter"><code>-W</code></em>
    140140                switch is used to specify the password to be used with the
    141                 <a class="indexterm" name="id300773"></a>ldap admin dn.  Note that the password is stored in
     141                <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a>.  Note that the password is stored in
    142142                the <code class="filename">secrets.tdb</code> and is keyed off
    143143                of the admin's DN.  This means that if the value of <em class="parameter"><code>ldap
     
    152152                can specify this parameter as only root has the permission needed
    153153                to modify attributes directly in the local smbpasswd file.
    154                 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id300843"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server
     154                </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id324951"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server
    155155        mode communicating  with a local smbd for a non-root user then
    156156        the smbd daemon must be running for this to work. A common problem
     
    158158        smbd</code> running on the local machine by specifying either <em class="parameter"><code>allow
    159159        hosts</code></em> or <em class="parameter"><code>deny hosts</code></em> entry in
    160         the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file and neglecting to
     160        the <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file and neglecting to
    161161        allow "localhost" access to the smbd. </p><p>In addition, the smbpasswd command is only useful if Samba
    162         has been set up to use encrypted passwords. </p></div><div class="refsect1" lang="en"><a name="id300892"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id300902"></a><h2>SEE ALSO</h2><p><a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a>, <a href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>.</p></div><div class="refsect1" lang="en"><a name="id300927"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
     162        has been set up to use encrypted passwords. </p></div><div class="refsect1" lang="en"><a name="id324996"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id325006"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a>, <a class="citerefentry" href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>.</p></div><div class="refsect1" lang="en"><a name="id325030"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
    163163        were created by Andrew Tridgell. Samba is now developed
    164164        by the Samba Team as an Open Source project similar
    165165        to the way the Linux kernel is developed.</p><p>The original Samba man pages were written by Karl Auer.
    166166        The man page sources were converted to YODL format (another
    167         excellent piece of Open Source software, available at <a href="ftp://ftp.icce.rug.nl/pub/unix/" target="_top">
     167        excellent piece of Open Source software, available at <a class="ulink" href="ftp://ftp.icce.rug.nl/pub/unix/" target="_top">
    168168        ftp://ftp.icce.rug.nl/pub/unix/</a>) and updated for the Samba 2.0
    169169        release by Jeremy Allison.  The conversion to DocBook for
Note: See TracChangeset for help on using the changeset viewer.