missed one reference to domain->native_mode in the previous commit
authorjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 6 May 2007 19:39:41 +0000 (19:39 +0000)
committerjerry <jerry@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 6 May 2007 19:39:41 +0000 (19:39 +0000)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@22706 0c0555d6-39d7-0310-84fc-f1cc0bd64818

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;
        }