diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-18 17:42:41 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-18 17:42:41 +0000 |
commit | e1096e69365e0983bd82c73937f0daa1c0143bdd (patch) | |
tree | 47eeaf36f2cf02cb88cd034a8df1789428e177ae /source3/nsswitch | |
parent | fb3d215b396d9c3a1aecf9335a5520bdd604117f (diff) | |
download | samba-e1096e69365e0983bd82c73937f0daa1c0143bdd.tar.gz samba-e1096e69365e0983bd82c73937f0daa1c0143bdd.tar.bz2 samba-e1096e69365e0983bd82c73937f0daa1c0143bdd.zip |
NULL enum_local_groups for ads winbindd (temporary workaround).
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
Diffstat (limited to 'source3/nsswitch')
-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")); |