From d3d0d069c7699c9928625bfcae8f24f34a6c6781 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 1 Dec 2006 18:05:09 +0000 Subject: r19988: the first LDAP calls for becoming a ads dc metze (This used to be commit 2e355f84888ebea1376151bcba4013980da08c15) --- source4/torture/rpc/testjoin.c | 94 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) (limited to 'source4/torture') 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, + * scope: one + * filter: (cn=Partitions) + * attrs: msDS-Behavior-Version + * Result: + * CN=Partitions,CN=Configuration, + * 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, + * scope: one + * filter: (cn=Partitions) + * attrs: msDS-Behavior-Version + * Result: + * + * + */ + + /* + * LDAP search 1st LDAP connection: + * + * Request: + * basedn: + * scope: base + * filter: (objectClass=*) + * attrs: msDS-Behavior-Version + * Result: + * + * msDS-Behavior-Version: 0 + */ + + /* + * LDAP search 1st LDAP connection: + * + * Request: + * basedn: CN=Schema,CN=Configuration, + * scope: base + * filter: (objectClass=*) + * attrs: objectVersion + * Result: + * CN=Schema,CN=Configuration, + * objectVersion: 30 + */ + + /* + * LDAP search 1st LDAP connection: + * + * Request: + * basedn: "" + * scope: base + * filter: (objectClass=*) + * attrs: defaultNamingContext + * dnsHostName + * Result: + * "" + * defaultNamingContext: + * dnsHostName: + */ + + /* + * LDAP search 1st LDAP connection: + * + * Request: + * basedn: + * scope: base + * filter: (objectClass=*) + * attrs: 1.1 + * Result: + * CN=Infrastructure, + */ + + /* + * LDAP search 1st LDAP connection: + * + * Request: + * basedn: CN=Windows2003Update,CN=DomainUpdates,CN=System, + * scope: base + * filter: (objectClass=*) + * attrs: revision + * Result: + * CN=Windows2003Update,CN=DomainUpdates,CN=System, + * revision: 8 + */ + /* ... */ /* -- cgit