]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Also update the HOWTO with the createcomputer information for net ads
authorJim McDonough <jmcd@samba.org>
Tue, 12 Dec 2006 19:21:31 +0000 (19:21 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 13:47:23 +0000 (08:47 -0500)
join
(This used to be commit 2ebf6130fab3afbe000513f0e99f202f0e30791a)

docs/Samba3-HOWTO/TOSHARG-DomainMember.xml

index eef5e46732a0b700b4bd5678eb3c4987bbf44cf0..05e51625bd7a4cc30459a226ccd295b296f8c603 100644 (file)
@@ -1112,7 +1112,7 @@ may want to create the machine trust account within a particular organizational
 this to be done using the following syntax:
 <screen>
 &rootprompt; <userinput>kinit Administrator@your.kerberos.REALM</userinput>
-&rootprompt; <userinput>net ads join "organizational_unit"</userinput>
+&rootprompt; <userinput>net ads join createcomputer="organizational_unit"</userinput>
 </screen>
 Your ADS manager will be able to advise what should be specified for the "organizational_unit" parameter.
 </para>
@@ -1123,13 +1123,15 @@ Your ADS manager will be able to advise what should be specified for the "organi
 <indexterm><primary>container</primary></indexterm>
 <indexterm><primary>ADS</primary></indexterm>
 For example, you may want to create the machine trust account in a container called <quote>Servers</quote>
-under the organizational directory <quote>Computers\BusinessUnit\Department,</quote> like this:
+under the organizational directory <quote>Computers/BusinessUnit/Department,</quote> like this:
 <screen>
-&rootprompt; <userinput>net ads join "Computers\BusinessUnit\Department\Servers"</userinput>
+&rootprompt; <userinput>net ads join "Computers/BusinessUnit/Department/Servers"</userinput>
 </screen>
 This command will place the Samba server machine trust account in the container
-<literal>Computers\BusinessUnit\Department\Servers</literal>. The container should exist in the ADS directory
-before executing this command.
+<literal>Computers/BusinessUnit/Department/Servers</literal>. The container should exist in the ADS directory
+before executing this command.  Please note that forward slashes must be used, because backslashes are both
+valid characters in an OU name and used as escapes for other characters.  If you need a backslash in an OU 
+name, it may need to be quadrupled to pass through the shell escape and ldap escape.
 </para>
 
 <sect3>