idl: Merge NETR_TRUST and LSA_TRUST definitions into one set only in lsa.idl
[samba.git] / source3 / winbindd / winbindd_cm.c
index 01a4aa2196a53700416b240fca01bed4c36d7e55..1e639b7cfa67a5aacaa8ce708e30fb564e4a954a 100644 (file)
@@ -2092,7 +2092,7 @@ static bool set_dc_type_and_flags_trustinfo( struct winbindd_domain *domain )
                        domain->domain_type           = trusts.array[i].trust_type;
                        domain->domain_trust_attribs  = trusts.array[i].trust_attributes;
 
-                       if ( domain->domain_type == NETR_TRUST_TYPE_UPLEVEL )
+                       if ( domain->domain_type == LSA_TRUST_TYPE_UPLEVEL )
                                domain->active_directory = True;
 
                        /* This flag is only set if the domain is *our*