diff options
author | bubulle <bubulle@alioth.debian.org> | 2008-05-28 03:56:49 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2008-05-28 03:56:49 +0000 |
commit | 0381e1741f55a5691275f8df62da9fcc8818db3d (patch) | |
tree | 3424758d8df73604eca5d787a6cb50964da7f665 /docs/htmldocs/manpages/smbpasswd.8.html | |
parent | bba625b04e0d12c2c03a345554d98b8575f4f380 (diff) | |
download | samba-0381e1741f55a5691275f8df62da9fcc8818db3d.tar.gz |
Load samba-3.2.0rc1 into branches/samba/upstream-3.2.upstream/3.2.0_rc1
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream-3.2@1898 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'docs/htmldocs/manpages/smbpasswd.8.html')
-rw-r--r-- | docs/htmldocs/manpages/smbpasswd.8.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/htmldocs/manpages/smbpasswd.8.html b/docs/htmldocs/manpages/smbpasswd.8.html index 6c200b6e9e..d857153f41 100644 --- a/docs/htmldocs/manpages/smbpasswd.8.html +++ b/docs/htmldocs/manpages/smbpasswd.8.html @@ -1,4 +1,4 @@ -<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.72.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 — 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 <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" lang="en"><a name="id266733"></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 +<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.1"></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 — 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 <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" lang="en"><a name="id2507275"></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 functions, depending on whether it is run by the <span class="emphasis"><em>root</em></span> user or not. When run as a normal user it allows the user to change the password used for their SMB sessions on any machines that store @@ -8,10 +8,10 @@ smbpasswd</code> differs from how the passwd program works however in that it is not <span class="emphasis"><em>setuid root</em></span> but works in a client-server mode and communicates with a - 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 + 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 succeed the smbd daemon must be running on the local machine. On a UNIX machine the encrypted SMB passwords are usually stored in - 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 + 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 will prompt them for their old SMB password and then ask them for their new password twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen @@ -25,7 +25,7 @@ the attributes of the user in this file to be made. When run by root, <code class="literal"> smbpasswd</code> accesses the local smbpasswd file directly, thus enabling changes to be made even if smbd is not - running. </p></div><div class="refsect1" lang="en"><a name="id266836"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><p> + running. </p></div><div class="refsect1" lang="en"><a name="id2507396"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><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 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 @@ -46,7 +46,7 @@ is done all attempts to authenticate via SMB using this username will fail. </p><p>If the smbpasswd file is in the 'old' format (pre-Samba 2.0 format) there is no space in the user's password entry to write - 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. + 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. </p><p>This option is only available when running smbpasswd as root.</p></dd><dt><span class="term">-e</span></dt><dd><p>This option specifies that the username following should be <code class="constant">enabled</code> in the local smbpasswd file, @@ -54,7 +54,7 @@ disabled this option has no effect. Once the account is enabled then 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"> smbpasswd</code> will FAIL to enable the account. - See <a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for + 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. </p><p>This option is only available when running smbpasswd as root. </p></dd><dt><span class="term">-D debuglevel</span></dt><dd><p><em class="replaceable"><code>debuglevel</code></em> is an integer from 0 to 10. The default value if this parameter is not specified @@ -94,7 +94,7 @@ name of the host being connected to. </p><p>The options are :"lmhosts", "host", "wins" and "bcast". They cause names to be resolved as follows: </p><div class="itemizedlist"><ul type="disc"><li><p><code class="constant">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 <a href="lmhosts.5.html"><span class="citerefentry"><span class="refentrytitle">lmhosts</span>(5)</span></a> for details) then + 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 any name type matches for lookup.</p></li><li><p><code class="constant">host</code>: Do a standard host name to IP address resolution, using the system <code class="filename">/etc/hosts </code>, NIS, or DNS lookups. This method of name resolution @@ -110,7 +110,7 @@ <em class="parameter"><code>interfaces</code></em> 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></li></ul></div><p>The default order is <code class="literal">lmhosts, host, wins, bcast</code> - 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 + 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 be attempted in this order. </p></dd><dt><span class="term">-m</span></dt><dd><p>This option tells smbpasswd that the account being changed is a MACHINE account. Currently this is used when Samba is being used as an NT Primary Domain Controller.</p><p>This option is only available when running smbpasswd as root. @@ -128,7 +128,7 @@ is to aid people writing scripts to drive smbpasswd</p></dd><dt><span class="term">-w password</span></dt><dd><p>This parameter is only available if Samba has been compiled with LDAP support. The <em class="parameter"><code>-w</code></em> switch is used to specify the password to be used with the - <a class="indexterm" name="id308169"></a>ldap admin dn. Note that the password is stored in + <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a>. Note that the password is stored in the <code class="filename">secrets.tdb</code> and is keyed off of the admin's DN. This means that if the value of <em class="parameter"><code>ldap admin dn</code></em> ever changes, the password will need to be @@ -138,7 +138,7 @@ </p><p>This parameter is only available if Samba has been compiled with LDAP support. The <em class="parameter"><code>-W</code></em> switch is used to specify the password to be used with the - <a class="indexterm" name="id308217"></a>ldap admin dn. Note that the password is stored in + <a class="link" href="smb.conf.5.html#LDAPADMINDN">ldap admin dn</a>. Note that the password is stored in the <code class="filename">secrets.tdb</code> and is keyed off of the admin's DN. This means that if the value of <em class="parameter"><code>ldap admin dn</code></em> ever changes, the password will need to be @@ -151,20 +151,20 @@ <span class="emphasis"><em>root only</em></span> options to operate on. Only root can specify this parameter as only root has the permission needed to modify attributes directly in the local smbpasswd file. - </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id308287"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server + </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2553574"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server mode communicating with a local smbd for a non-root user then the smbd daemon must be running for this to work. A common problem is to add a restriction to the hosts that may access the <code class="literal"> smbd</code> running on the local machine by specifying either <em class="parameter"><code>allow hosts</code></em> or <em class="parameter"><code>deny hosts</code></em> entry in - the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file and neglecting to + 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 allow "localhost" access to the smbd. </p><p>In addition, the smbpasswd command is only useful if Samba - has been set up to use encrypted passwords. </p></div><div class="refsect1" lang="en"><a name="id308336"></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="id308346"></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="id308371"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities + has been set up to use encrypted passwords. </p></div><div class="refsect1" lang="en"><a name="id2553626"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2553637"></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="id2553662"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.</p><p>The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another - excellent piece of Open Source software, available at <a href="ftp://ftp.icce.rug.nl/pub/unix/" target="_top"> + excellent piece of Open Source software, available at <a class="ulink" href="ftp://ftp.icce.rug.nl/pub/unix/" target="_top"> ftp://ftp.icce.rug.nl/pub/unix/</a>) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 |