summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-02 08:44:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:44 -0500
commit7196056f49e71b12b64b30ab06f7be7c476f06d4 (patch)
tree73468b1309c1a07bebd15d33df9f9b01ec02ac79
parentdf8fcba2bbefc1d72e32503386be9181ea49d284 (diff)
downloadsamba-7196056f49e71b12b64b30ab06f7be7c476f06d4.tar.gz
samba-7196056f49e71b12b64b30ab06f7be7c476f06d4.tar.bz2
samba-7196056f49e71b12b64b30ab06f7be7c476f06d4.zip
r19996: add section about finding site details
metze (This used to be commit 500113ca5756933de15537b44ccc834ea32307b3)
-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 0dc770ba56..9ab5a72c00 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -819,6 +819,32 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
*/
/* END: RID Manager FSMO */
+ /*
+ * LDAP search 1st LDAP connection:
+ *
+ * Request:
+ * basedn: CN=<new_dc_site_name>,CN=Sites,CN=Configuration,<domain_partition>
+ * scope: base
+ * filter: (objectClass=*)
+ * attrs:
+ * Result:
+ * CN=<new_dc_site_name>,CN=Sites,CN=Configuration,<domain_partition>
+ * objectClass: top
+ * site
+ * cn: <new_dc_site_name>
+ * distinguishedName:CN=<new_dc_site_name>,CN=Sites,CN=Configuration,<domain_partition>
+ * instanceType: 4
+ * whenCreated: ...
+ * whenChanged: ...
+ * uSNCreated: ...
+ * uSNChanged: ...
+ * showInAdvancedViewOnly: TRUE
+ * name: <new_dc_site_name>
+ * objectGUID: <object_guid>
+ * systemFlags: 1107296256 <0x42000000>
+ * objectCategory: CN=Site,C=Schema,CN=Configuration,<domain_partition>
+ */
+
/* ... */
/*