r22706: missed one reference to domain->native_mode in the previous commit
authorGerald Carter <jerry@samba.org>
Sun, 6 May 2007 19:39:41 +0000 (19:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:48 +0000 (12:21 -0500)
source/nsswitch/winbindd_ads.c

index 111736244a9f4e011638577769a83f13f531a791..4b6bca78344477485021f382a1344606839d8777 100644 (file)
@@ -275,7 +275,7 @@ static NTSTATUS enum_dom_groups(struct winbindd_domain *domain,
        DEBUG(3,("ads: enum_dom_groups\n"));
 
        /* only grab domain local groups for our domain */
-       if ( domain->native_mode && strequal(lp_realm(), domain->alt_name)  ) {
+       if ( domain->active_directory && strequal(lp_realm(), domain->alt_name)  ) {
                enum_dom_local_groups = True;
        }