Changeset 134 for branches/samba-3.0/docs/htmldocs/manpages/pdbedit.8.html
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/manpages/pdbedit.8.html
r44 r134 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pdbedit</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="pdbedit.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pdbedit — manage the SAM database (Database of Samba Users)</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">pdbedit</code> [-L] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-D drive] [-S script] [-p profile] [-a] [-t, --password-from-stdin] [-m] [-r] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P account-policy] [-C value] [-c account-control] [-y]</p></div></div><div class="refsect1" lang="en"><a name="id259437"></a><h2>DESCRIPTION</h2><p>This tool is part of the <ahref="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The pdbedit program is used to manage the users accounts1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pdbedit</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="pdbedit.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pdbedit — manage the SAM database (Database of Samba Users)</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">pdbedit</code> [-L] [-v] [-w] [-u username] [-f fullname] [-h homedir] [-D drive] [-S script] [-p profile] [-a] [-t, --password-from-stdin] [-m] [-r] [-x] [-i passdb-backend] [-e passdb-backend] [-b passdb-backend] [-g] [-d debuglevel] [-s configfile] [-P account-policy] [-C value] [-c account-control] [-y]</p></div></div><div class="refsect1" lang="en"><a name="id283425"></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 pdbedit program is used to manage the users accounts 2 2 stored in the sam database and can only be run by root.</p><p>The pdbedit tool uses the passdb modular interface and is 3 3 independent from the kind of users database used (currently there … … 5 5 without changing the tool).</p><p>There are five main ways to use pdbedit: adding a user account, 6 6 removing a user account, modifing a user account, listing user 7 accounts, importing users accounts.</p></div><div class="refsect1" lang="en"><a name="id2 60385"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-L</span></dt><dd><p>This option lists all the user accounts7 accounts, importing users accounts.</p></div><div class="refsect1" lang="en"><a name="id282907"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-L</span></dt><dd><p>This option lists all the user accounts 8 8 present in the users database. 9 9 This option prints a list of user/uid pairs separated by … … 36 36 out the account fields in a format compatible with the 37 37 <code class="filename">smbpasswd</code> file format. (see the 38 <a href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for details)</p><p>Example: <code class="literal">pdbedit -L -w</code></p><pre class="programlisting">38 <a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a> for details)</p><p>Example: <code class="literal">pdbedit -L -w</code></p><pre class="programlisting"> 39 39 sorce:500:508818B733CE64BEAAD3B435B51404EE: 40 40 D2A2418EFC466A8A0F6B1DBB5C3DB80C: … … 79 79 </pre><p> 80 80 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>pdbedit does not call the unix password syncronisation 81 script if <a class=" indexterm" name="id300639"></a>unix password sync81 script if <a class="link" href="smb.conf.5.html#UNIXPASSWORDSYNC">unix password sync</a> 82 82 has been set. It only updates the data in the Samba 83 83 user database. … … 121 121 applies to the account policies instead of the user database.</p><p>This option will allow to migrate account policies from their default 122 122 tdb-store into a passdb backend, e.g. an LDAP directory server.</p><p>Example: <code class="literal">pdbedit -y -i tdbsam: -e ldapsam:ldap://my.ldap.host</code></p></dd><dt><span class="term">-h|--help</span></dt><dd><p>Print a summary of command line options. 123 </p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the program version number. 124 </p></dd><dt><span class="term">-s <configuration file></span></dt><dd><p>The file specified contains the 125 configuration details required by the server. The 126 information in this file includes server-specific 127 information such as what printcap file to use, as well 128 as descriptions of all the services that the server is 129 to provide. See <code class="filename">smb.conf</code> for more information. 130 The default configuration file name is determined at 131 compile time.</p></dd><dt><span class="term">-d|--debuglevel=level</span></dt><dd><p><em class="replaceable"><code>level</code></em> is an integer 132 from 0 to 10. The default value if this parameter is 133 not specified is zero.</p><p>The higher this value, the more detail will be 123 </p></dd><dt><span class="term">-d|--debuglevel=level</span></dt><dd><p><em class="replaceable"><code>level</code></em> is an integer 124 from 0 to 10. The default value if this parameter is 125 not specified is 0.</p><p>The higher this value, the more detail will be 134 126 logged to the log files about the activities of the 135 127 server. At level 0, only critical errors and serious … … 141 133 use only by developers and generate HUGE amounts of log 142 134 data, most of which is extremely cryptic.</p><p>Note that specifying this parameter here will 143 override the <a class="indexterm" name="id301024"></a> parameter 144 in the <code class="filename">smb.conf</code> file.</p></dd><dt><span class="term">-l|--logfile=logdirectory</span></dt><dd><p>Base directory name for log/debug files. The extension 135 override the <a class="link" href="smb.conf.5.html#LOGLEVEL">log level</a> parameter 136 in the <code class="filename">smb.conf</code> file.</p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the program version number. 137 </p></dd><dt><span class="term">-s <configuration file></span></dt><dd><p>The file specified contains the 138 configuration details required by the server. The 139 information in this file includes server-specific 140 information such as what printcap file to use, as well 141 as descriptions of all the services that the server is 142 to provide. See <code class="filename">smb.conf</code> for more information. 143 The default configuration file name is determined at 144 compile time.</p></dd><dt><span class="term">-l|--log-basename=logdirectory</span></dt><dd><p>Base directory name for log/debug files. The extension 145 145 <code class="constant">".progname"</code> will be appended (e.g. log.smbclient, 146 146 log.smbd, etc...). The log file is never removed by the client. 147 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id3 01057"></a><h2>NOTES</h2><p>This command may be used only by root.</p></div><div class="refsect1" lang="en"><a name="id301067"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of148 the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id3 01078"></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="id301101"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities147 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id325150"></a><h2>NOTES</h2><p>This command may be used only by root.</p></div><div class="refsect1" lang="en"><a name="id325160"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of 148 the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id325170"></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="id325192"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 149 149 were created by Andrew Tridgell. Samba is now developed 150 150 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.