summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages/smbpasswd.8.sgml
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-19 09:06:50 +0000
committerTim Potter <tpot@samba.org>2001-07-19 09:06:50 +0000
commit921761fb979922af3f9b1b20266a0cbd766792eb (patch)
tree6c9f4c3ef9e5c39e8eea94be894690064ebdb6d1 /docs/docbook/manpages/smbpasswd.8.sgml
parentcdcf646c65f479ff25644cf1844c36ff76a24f3a (diff)
downloadsamba-921761fb979922af3f9b1b20266a0cbd766792eb.tar.gz
samba-921761fb979922af3f9b1b20266a0cbd766792eb.tar.bz2
samba-921761fb979922af3f9b1b20266a0cbd766792eb.zip
Added some documentation for using -U with -j in order to join a domain
without first having to create an account using the server manager. (This used to be commit 5edfb53d7c3fe809256f080d5cd46ebc62c194fb)
Diffstat (limited to 'docs/docbook/manpages/smbpasswd.8.sgml')
-rw-r--r--docs/docbook/manpages/smbpasswd.8.sgml96
1 files changed, 56 insertions, 40 deletions
diff --git a/docs/docbook/manpages/smbpasswd.8.sgml b/docs/docbook/manpages/smbpasswd.8.sgml
index 8233234d35..3af636715d 100644
--- a/docs/docbook/manpages/smbpasswd.8.sgml
+++ b/docs/docbook/manpages/smbpasswd.8.sgml
@@ -25,7 +25,7 @@
<arg choice="opt">-R &lt;name resolve order&gt;</arg>
<arg choice="opt">-m</arg>
<arg choice="opt">-j DOMAIN</arg>
- <arg choice="opt">-U username</arg>
+ <arg choice="opt">-U username[%password]</arg>
<arg choice="opt">-h</arg>
<arg choice="opt">-s</arg>
<arg choice="opt">username</arg>
@@ -274,52 +274,68 @@
<varlistentry>
- <term>-j DOMAIN</term>
- <listitem><para>This option is used to add a Samba server
- into a Windows NT Domain, as a Domain member capable of authenticating
- user accounts to any Domain Controller in the same way as a Windows
- NT Server. See the <command>security = domain</command> option in
- the <filename>smb.conf(5)</filename> man page. </para>
-
- <para>In order to be used in this way, the Administrator for
- the Windows NT Domain must have used the program "Server Manager
- for Domains" to add the primary NetBIOS name of the Samba server
- as a member of the Domain. </para>
-
- <para>After this has been done, to join the Domain invoke <command>
- smbpasswd</command> with this parameter. smbpasswd will then
- look up the Primary Domain Controller for the Domain (found in
- the <filename>smb.conf</filename> file in the parameter
- <parameter>password server</parameter> and change the machine account
- password used to create the secure Domain communication. This
- password is then stored by smbpasswd in a TDB, writeable only by root,
- called <filename>secrets.tdb</filename> </para>
+ <term>-j DOMAIN</term> <listitem><para>This option is used
+ to add a Samba server into a Windows NT Domain, as a Domain
+ member capable of authenticating user accounts to any
+ Domain Controller in the same way as a Windows NT
+ Server. See the <command>security = domain</command> option
+ in the <filename>smb.conf(5)</filename> man page. </para>
+
+ <para>The Samba server can be joined to the Windows NT
+ Domain in one of two ways. The Administrator for the
+ domain can use the "Server Manager for Domains" program to
+ add the primary NetBIOS name of the Samba server as a
+ member of the Domain. </para>
+
+ <para>After this has been done, to join the Domain invoke
+ <command> smbpasswd</command> with this
+ parameter. smbpasswd will then look up the Primary Domain
+ Controller for the Domain (found in the
+ <filename>smb.conf</filename> file in the parameter
+ <parameter>password server</parameter> and change the
+ machine account password used to create the secure Domain
+ communication. This password is then stored by smbpasswd
+ in a TDB, writeable only by root, called
+ <filename>secrets.tdb</filename> </para>
<para>Once this operation has been performed the <filename>
- smb.conf</filename> file may be updated to set the <command>
- security = domain</command> option and all future logins
- to the Samba server will be authenticated to the Windows NT
- PDC. </para>
-
- <para>Note that even though the authentication is being
- done to the PDC all users accessing the Samba server must still
- have a valid UNIX account on that machine. </para>
-
-
- <para>This option is only available when running smbpasswd as root.
- </para></listitem>
+ smb.conf</filename> file may be updated to set the
+ <command> security = domain</command> option and all future
+ logins to the Samba server will be authenticated to the
+ Windows NT PDC. </para>
+
+ <para>Note that even though the authentication is being
+ done to the PDC all users accessing the Samba server must
+ still have a valid UNIX account on that machine. </para>
+
+ <para>The second method for joining the domain is to
+ use the <parameter>-U</parameter> option in addition to the
+ <parameter>-j</parameter> to specify an administrator
+ username and optional password. This method does not
+ require the use of the "Server Manager for Domains"
+ program. This method is more secure as the machine account
+ password is set to a well known value before the member
+ server is joined to the domain.
+
+ <para>This option is only available when running smbpasswd
+ as root. </para></listitem>
</varlistentry>
<varlistentry>
- <term>-U username</term>
- <listitem><para>This option may only be used in conjunction
- with the <parameter>-r</parameter> 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
- is present to allow users who have different user names on
- different systems to change these passwords. </para></listitem>
+ <term>-U username[%password]</term> <listitem><para>This
+ option may only be used in conjunction with the
+ <parameter>-r</parameter> or <parameter>-j</parameter>
+ options. 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 is present to allow
+ users who have different user names on different systems to
+ change these passwords. When changing the password on a
+ machine account using the <parameter>-j</parameter> option
+ the username and password of an administrator is specified
+ here. Non-administrator users with the 'Add workstations
+ to domain' user right can also be used.</para></listitem>
</varlistentry>