summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-01 18:05:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:43 -0500
commitd3d0d069c7699c9928625bfcae8f24f34a6c6781 (patch)
tree519efcdd583bc933ee5f2eb537bb97d59541569b
parenteb7187a9947831eac9da39fa0e9c693e5c6eb094 (diff)
downloadsamba-d3d0d069c7699c9928625bfcae8f24f34a6c6781.tar.gz
samba-d3d0d069c7699c9928625bfcae8f24f34a6c6781.tar.bz2
samba-d3d0d069c7699c9928625bfcae8f24f34a6c6781.zip
r19988: the first LDAP calls for becoming a ads dc
metze (This used to be commit 2e355f84888ebea1376151bcba4013980da08c15)
-rw-r--r--source4/torture/rpc/testjoin.c94
1 files changed, 94 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 9c3dc6a655..4b9492af89 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -631,6 +631,100 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
* Open 1st LDAP connection to the DC using admin credentials
*/
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=Configuration,<domain_partition>
+ * scope: one
+ * filter: (cn=Partitions)
+ * attrs: msDS-Behavior-Version
+ * Result:
+ * CN=Partitions,CN=Configuration,<domain_partition>
+ * msDS-Behavior-Version: 0
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * NOTE: this seems to be a bug! as the messageID of the LDAP message is corrupted!
+ *
+ * Request:
+ * basedn: CN=Schema,CN=Configuration,<domain_partition>
+ * scope: one
+ * filter: (cn=Partitions)
+ * attrs: msDS-Behavior-Version
+ * Result:
+ * <none>
+ *
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: <domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: msDS-Behavior-Version
+ * Result:
+ * <domain_partition>
+ * msDS-Behavior-Version: 0
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=Schema,CN=Configuration,<domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: objectVersion
+ * Result:
+ * CN=Schema,CN=Configuration,<domain_partition>
+ * objectVersion: 30
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: ""
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: defaultNamingContext
+ * dnsHostName
+ * Result:
+ * ""
+ * defaultNamingContext: <domain_partition>
+ * dnsHostName: <dns_host_name>
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: <WKGUID=2fbac1870ade11d297c400c04fd8d5cd,domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: 1.1
+ * Result:
+ * CN=Infrastructure,<domain_partition>
+ */
+
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=Windows2003Update,CN=DomainUpdates,CN=System,<domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs: revision
+ * Result:
+ * CN=Windows2003Update,CN=DomainUpdates,CN=System,<domain_partition>
+ * revision: 8
+ */
+
/* ... */
/*