From 8963cf1e58f763ea499d9918b3438d5f25ff5ba3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 26 Nov 2002 12:04:16 +0000 Subject: After consultation with tpot, remove the 'winbind_domain' environment variable hack, the feild on the pipe, and the server-side. It only controlled some enum operations in any case. This is to try and have less 'magic' environment variables. Andrew Bartlett (This used to be commit e4be82e4e2c7cdf15f3e20f73fe9f281f6384423) --- source3/nsswitch/winbindd_user.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source3/nsswitch/winbindd_user.c') diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c index 4f57fd2c72..bb281463ce 100644 --- a/source3/nsswitch/winbindd_user.c +++ b/source3/nsswitch/winbindd_user.c @@ -284,16 +284,6 @@ enum winbindd_result winbindd_setpwent(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 *) @@ -551,13 +541,6 @@ enum winbindd_result winbindd_list_users(struct winbindd_cli_state *state) struct winbindd_methods *methods; int i; - /* Skip domains other than WINBINDD_DOMAIN environment - variable */ - - if ((strcmp(state->request.domain, "") != 0) && - !check_domain_env(state->request.domain, domain->name)) - continue; - methods = domain->methods; /* Query display info */ -- cgit