diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-02 08:50:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:28:45 -0500 |
commit | fdecfa7be104f7f5ed47810f3f941b34f1927984 (patch) | |
tree | 2609d9e99d5f8b18255576d9c08c24a5df34301d | |
parent | 7196056f49e71b12b64b30ab06f7be7c476f06d4 (diff) | |
download | samba-fdecfa7be104f7f5ed47810f3f941b34f1927984.tar.gz samba-fdecfa7be104f7f5ed47810f3f941b34f1927984.tar.bz2 samba-fdecfa7be104f7f5ed47810f3f941b34f1927984.zip |
r19997: section about finding the new_dc computer account
metze
(This used to be commit 757ed019c219fd215cae23d80281d0b221e495e1)
-rw-r--r-- | source4/torture/rpc/testjoin.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index 9ab5a72c00..e4661f4135 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -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> + */ + /* ... */ /* |