summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_group.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-20 01:37:39 +0000
committerTim Potter <tpot@samba.org>2002-12-20 01:37:39 +0000
commit8c93138982da3f9444bdef63cf48de37876866ed (patch)
tree3bd6e6f763f90cbf0fffe97362bcf0f546222084 /source3/nsswitch/winbindd_group.c
parent45030bcbcac1657173a8bf64d237d92496886202 (diff)
downloadsamba-8c93138982da3f9444bdef63cf48de37876866ed.tar.gz
samba-8c93138982da3f9444bdef63cf48de37876866ed.tar.bz2
samba-8c93138982da3f9444bdef63cf48de37876866ed.zip
Merge removal of unpopular winbind client environment variable.
(This used to be commit 0637f582fe1d41f8ef247e5989f84caa72162f05)
Diffstat (limited to 'source3/nsswitch/winbindd_group.c')
-rw-r--r--source3/nsswitch/winbindd_group.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index 507d5caf0f..ab6268583f 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -356,13 +356,6 @@ enum winbindd_result winbindd_setgrent(struct winbindd_cli_state *state)
for (domain = domain_list(); domain != NULL; domain = domain->next) {
struct getent_state *domain_state;
- /* Skip domains other than WINBINDD_DOMAIN environment
- variable */
-
- if ((strcmp(state->request.domain, "") != 0) &&
- !check_domain_env(state->request.domain, domain->name))
- continue;
-
/* Create a state record for this domain */
if ((domain_state = (struct getent_state *)
@@ -748,12 +741,6 @@ enum winbindd_result winbindd_list_groups(struct winbindd_cli_state *state)
ZERO_STRUCT(groups);
- /* Skip domains other than WINBINDD_DOMAIN environment
- variable */
- if ((strcmp(state->request.domain, "") != 0) &&
- !check_domain_env(state->request.domain, domain->name))
- continue;
-
/* Get list of sam groups */
ZERO_STRUCT(groups);
fstrcpy(groups.domain_name, domain->name);