- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/htmldocs/manpages/smbpasswd.5.html
r368 r411 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.7 5.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="smbpasswd"><a name="smbpasswd.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd — The Samba encrypted password file</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><p><code class="filename">smbpasswd</code></p></div><div class="refsect1" title="DESCRIPTION"><a name="id2528893"></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>smbpasswd is the Samba encrypted password file. It contains1 <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.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbpasswd.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd — The Samba encrypted password file</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">smbpasswd</code></p></div><div class="refsect1" lang="en"><a name="id2522912"></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>smbpasswd is the Samba encrypted password file. It contains 2 2 the username, Unix user id and the SMB hashed passwords of the 3 3 user, as well as account flag information and the time the 4 4 password was last changed. This file format has been evolving with 5 Samba and has had several different formats in the past. </p></div><div class="refsect1" title="FILE FORMAT"><a name="id2528920"></a><h2>FILE FORMAT</h2><p>The format of the smbpasswd file used by Samba 2.25 Samba and has had several different formats in the past. </p></div><div class="refsect1" lang="en"><a name="id2522939"></a><h2>FILE FORMAT</h2><p>The format of the smbpasswd file used by Samba 2.2 6 6 is very similar to the familiar Unix <code class="filename">passwd(5)</code> 7 7 file. It is an ASCII file containing one line for each user. Each field … … 59 59 (including the '[' and ']' characters). 60 60 The contents of this field may be any of the following characters: 61 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>U</em></span> - This means62 this is a "User" account, i.e. an ordinary user.</p></li><li class="listitem"><p><span class="emphasis"><em>N</em></span> - This means the61 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>U</em></span> - This means 62 this is a "User" account, i.e. an ordinary user.</p></li><li><p><span class="emphasis"><em>N</em></span> - This means the 63 63 account has no password (the passwords in the fields LANMAN 64 64 Password Hash and NT Password Hash are ignored). Note that this 65 65 will only allow users to log on with no password if the <em class="parameter"><code> 66 66 null passwords</code></em> parameter is set in the 67 <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> config file. </p></li><li class="listitem"><p><span class="emphasis"><em>D</em></span> - This means the account68 is disabled and no SMB/CIFS logins will be allowed for this user. </p></li><li class="listitem"><p><span class="emphasis"><em>X</em></span> - This means the password69 does not expire. </p></li><li class="listitem"><p><span class="emphasis"><em>W</em></span> - This means this account67 <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> config file. </p></li><li><p><span class="emphasis"><em>D</em></span> - This means the account 68 is disabled and no SMB/CIFS logins will be allowed for this user. </p></li><li><p><span class="emphasis"><em>X</em></span> - This means the password 69 does not expire. </p></li><li><p><span class="emphasis"><em>W</em></span> - This means this account 70 70 is a "Workstation Trust" account. This kind of account is used 71 71 in the Samba PDC code stream to allow Windows NT Workstations … … 77 77 "Last Change Time") followed by a numeric encoding of the UNIX time 78 78 in seconds since the epoch (1970) that the last change was made. 79 </p></dd></dl></div><p>All other colon separated fields are ignored at this time.</p></div><div class="refsect1" title="VERSION"><a name="id2489674"></a><h2>VERSION</h2><p>This man page is correct for version 3 of80 the Samba suite.</p></div><div class="refsect1" title="SEE ALSO"><a name="id2489685"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="smbpasswd.8.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(8)</span></a>, <a class="citerefentry" href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>, and79 </p></dd></dl></div><p>All other colon separated fields are ignored at this time.</p></div><div class="refsect1" lang="en"><a name="id2483689"></a><h2>VERSION</h2><p>This man page is correct for version 3 of 80 the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2483700"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="smbpasswd.8.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(8)</span></a>, <a class="citerefentry" href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>, and 81 81 the Internet RFC1321 for details on the MD4 algorithm. 82 </p></div><div class="refsect1" title="AUTHOR"><a name="id2489711"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities82 </p></div><div class="refsect1" lang="en"><a name="id2483726"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 83 83 were created by Andrew Tridgell. Samba is now developed 84 84 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.