summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-02 08:58:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:45 -0500
commit5a45b974153ae5bd31af619e736d72d1df82ab37 (patch)
treef77dea6f82ef9de1d6b4a78889506d003568fa40 /source4/torture/rpc
parentfdecfa7be104f7f5ed47810f3f941b34f1927984 (diff)
downloadsamba-5a45b974153ae5bd31af619e736d72d1df82ab37.tar.gz
samba-5a45b974153ae5bd31af619e736d72d1df82ab37.tar.bz2
samba-5a45b974153ae5bd31af619e736d72d1df82ab37.zip
r19998: add section for finding details about the new_dc server object
metze (This used to be commit cd534dc93646a5981c4d2f0bc27ba9d3259024eb)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/testjoin.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index e4661f4135..04a749ae4d 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -860,6 +860,32 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
* userAccoountControl: 4096 <0x1000>
*/
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=<new_dc_netbios_name>,CN=Servers,CN=<new_dc_site_name>,CN=Sites,CN=Configuration,<domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs:
+ * Result:
+ * <noSuchObject>
+ * <matchedDN:CN=Servers,CN=<new_dc_site_name>,CN=Sites,CN=Configuration,<domain_partition>>
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=<new_dc_netbios_name>,CN=Computers,<domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: serverReferenceBL
+ * typesOnly: TRUE!!!
+ * Result:
+ * CN=<new_dc_netbios_name>,CN=Computers,<domain_partition>
+ */
+
/* ... */
/*