r19997: section about finding the new_dc computer account
authorStefan Metzmacher <metze@samba.org>
Sat, 2 Dec 2006 08:50:23 +0000 (08:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:28:45 +0000 (14:28 -0500)
metze
(This used to be commit 757ed019c219fd215cae23d80281d0b221e495e1)

source4/torture/rpc/testjoin.c

index 9ab5a72c0030e326ab4f23f68bc46cbfc30ea7ed..e4661f41359b0c3f5068dce66447aeedabb76459 100644 (file)
@@ -845,6 +845,21 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
         *              objectCategory: CN=Site,C=Schema,CN=Configuration,<domain_partition>
         */
 
+       /*
+        * LDAP search 1st LDAP connection:
+        * 
+        * Request:
+        *      basedn: <domain_partition>
+        *      scope:  sub
+        *      filter: (&(|(objectClass=user)(objectClass=computer))(sAMAccountName=<new_dc_account_name>))
+        *      attrs:  distinguishedName
+        *              userAccountControl
+        * Result:
+        *      CN=<new_dc_netbios_name>,CN=Computers,<domain_partition>
+        *              distinguishedName:      CN=<new_dc_netbios_name>,CN=Computers,<domain_partition>
+        *              userAccoountControl:    4096 <0x1000>
+        */
+
 /* ... */
 
        /*