diff options
author | Günther Deschner <gd@samba.org> | 2008-10-15 21:32:01 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-15 21:44:39 +0200 |
commit | d2424914889d3b68b25f298b4d02b8c28a2b3cd0 (patch) | |
tree | f3c10431bb21dab7abeda3e8c77df22bd7b2338f /source4/torture | |
parent | e9e12460217e421e44715b603ddbf57e5a889def (diff) | |
download | samba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.tar.gz samba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.tar.bz2 samba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.zip |
idl: finally fully share nbt.idl in s3 and s4.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ldap/cldap.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source4/torture/ldap/cldap.c b/source4/torture/ldap/cldap.c index 2c95d46058..1ddc628a5c 100644 --- a/source4/torture/ldap/cldap.c +++ b/source4/torture/ldap/cldap.c @@ -24,6 +24,7 @@ #include "libcli/cldap/cldap.h" #include "libcli/ldap/ldap.h" #include "librpc/gen_ndr/ndr_nbt.h" +#include "librpc/gen_ndr/netlogon.h" #include "torture/torture.h" #include "lib/ldb/include/ldb.h" #include "param/param.h" @@ -284,12 +285,12 @@ static bool test_cldap_netlogon_flags(struct torture_context *tctx, printf("NBT_SERVER_SELECT_SECRET_DOMAIN_6"); if (server_type & NBT_SERVER_FULL_SECRET_DOMAIN_6) printf("NBT_SERVER_FULL_SECRET_DOMAIN_6"); - if (server_type & NBT_SERVER_DS_DNS_CONTR) - printf("NBT_SERVER_DS_DNS_CONTR "); - if (server_type & NBT_SERVER_DS_DNS_DOMAIN) - printf("NBT_SERVER_DS_DNS_DOMAIN "); - if (server_type & NBT_SERVER_DS_DNS_FOREST) - printf("NBT_SERVER_DS_DNS_FOREST "); + if (server_type & DS_DNS_CONTROLLER) + printf("DS_DNS_CONTROLLER "); + if (server_type & DS_DNS_DOMAIN) + printf("DS_DNS_DOMAIN "); + if (server_type & DS_DNS_FOREST) + printf("DS_DNS_FOREST "); printf("\n"); @@ -370,7 +371,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 & NBT_SERVER_DS_DNS_FOREST) { + if (server_type & DS_DNS_FOREST) { struct cldap_search search2; const char *attrs[] = { "defaultNamingContext", "rootDomainNamingContext", NULL }; |