summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-02 12:02:00 +1000
committerAndrew Tridgell <tridge@samba.org>2009-10-02 12:02:00 +1000
commit4cb055cacdc8a28f1efee1d40546baa05515e24e (patch)
tree24dae728fa1b19956f4c3e4ab922736f7cac5701 /source4/torture/ldap
parent5d60a7e23ed7d9e6ff6e61dd5e9ee65796a22da4 (diff)
downloadsamba-4cb055cacdc8a28f1efee1d40546baa05515e24e.tar.gz
samba-4cb055cacdc8a28f1efee1d40546baa05515e24e.tar.bz2
samba-4cb055cacdc8a28f1efee1d40546baa05515e24e.zip
ds-flags: use the new name DS_DNS_FOREST_ROOT
Update to use the new DS_DNS_FOREST_ROOT name, which makes it clearer what this bit means (according to MS-ADTS doc)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/cldap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/ldap/cldap.c b/source4/torture/ldap/cldap.c
index d0e9719188..6c31202a26 100644
--- a/source4/torture/ldap/cldap.c
+++ b/source4/torture/ldap/cldap.c
@@ -303,8 +303,8 @@ static bool test_cldap_netlogon_flags(struct torture_context *tctx,
printf("DS_DNS_CONTROLLER ");
if (server_type & DS_DNS_DOMAIN)
printf("DS_DNS_DOMAIN ");
- if (server_type & DS_DNS_FOREST)
- printf("DS_DNS_FOREST ");
+ if (server_type & DS_DNS_FOREST_ROOT)
+ printf("DS_DNS_FOREST_ROOT ");
printf("\n");
@@ -352,7 +352,7 @@ static void cldap_dump_results(struct cldap_search *search)
/*
- test cldap netlogon server type flag "NBT_SERVER_DS_DNS_FOREST"
+ test cldap netlogon server type flag "NBT_SERVER_FOREST_ROOT"
*/
static bool test_cldap_netlogon_flag_ds_dns_forest(struct torture_context *tctx,
const char *dest)
@@ -369,7 +369,7 @@ static bool test_cldap_netlogon_flag_ds_dns_forest(struct torture_context *tctx,
status = cldap_socket_init(tctx, NULL, NULL, NULL, &cldap);
CHECK_STATUS(status, NT_STATUS_OK);
- printf("Testing netlogon server type flag NBT_SERVER_DS_DNS_FOREST: ");
+ printf("Testing netlogon server type flag NBT_SERVER_FOREST_ROOT: ");
ZERO_STRUCT(search);
search.in.dest_address = dest;
@@ -387,7 +387,7 @@ static bool test_cldap_netlogon_flag_ds_dns_forest(struct torture_context *tctx,
else if (n1.ntver == NETLOGON_NT_VERSION_5EX)
server_type = n1.data.nt5_ex.server_type;
- if (server_type & DS_DNS_FOREST) {
+ if (server_type & DS_DNS_FOREST_ROOT) {
struct cldap_search search2;
const char *attrs[] = { "defaultNamingContext", "rootDomainNamingContext",
NULL };