diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-18 17:44:53 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-18 17:44:53 +0000 |
commit | 67b3799bf4a1eb55b0c0ded50aeb460a5722a76b (patch) | |
tree | f1b6c30f39826b2cadbc168a82f32b247cf62e4f /source3 | |
parent | 555bc82dea577738b75c5beb8ddbd462d0348d15 (diff) | |
download | samba-67b3799bf4a1eb55b0c0ded50aeb460a5722a76b.tar.gz samba-67b3799bf4a1eb55b0c0ded50aeb460a5722a76b.tar.bz2 samba-67b3799bf4a1eb55b0c0ded50aeb460a5722a76b.zip |
NULL enum_local_groups for ads winbindd (temporary workaround).
(This used to be commit 5a2f1edb5848dc054cfaa71b0fb3b473ad930b7d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 1 | ||||
-rw-r--r-- | source3/nsswitch/winbindd_group.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 228c4a2a08..abdb4f9ef6 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -675,6 +675,7 @@ struct winbindd_methods ads_methods = { True, query_user_list, enum_dom_groups, + NULL, name_to_sid, sid_to_name, query_user, diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index dc22be1754..507d5caf0f 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -463,7 +463,7 @@ static BOOL get_sam_group_entries(struct getent_state *ent) /* get the domain local groups if we are a member of a native win2k domain */ - if ( domain->native_mode ) + if ( domain->native_mode && domain->methods->enum_local_groups ) { DEBUG(4,("get_sam_group_entries: Native Mode 2k domain; enumerating local groups as well\n")); |