summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_group.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-11-21 00:00:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:57 -0500
commit95bfb975472f5cf63bb0ef2d19ae89945232883f (patch)
tree7bbd90df27844ca65f8efeccf8bb99519f39bc13 /source3/nsswitch/winbindd_group.c
parent932e95abde4a1a860de7589612d38d6517e8ef27 (diff)
downloadsamba-95bfb975472f5cf63bb0ef2d19ae89945232883f.tar.gz
samba-95bfb975472f5cf63bb0ef2d19ae89945232883f.tar.bz2
samba-95bfb975472f5cf63bb0ef2d19ae89945232883f.zip
r19809: remove winbind blacklist parameter
(This used to be commit 40cff1449886449b34b896e31fd43b7dff436a3f)
Diffstat (limited to 'source3/nsswitch/winbindd_group.c')
-rw-r--r--source3/nsswitch/winbindd_group.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index c838db923c..7feaadbf97 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -1130,30 +1130,6 @@ void winbindd_getgroups(struct winbindd_cli_state *state)
DEBUG(3, ("[%5lu]: getgroups %s\n", (unsigned long)state->pid,
state->request.data.username));
- /* when using "winbind use default domain" we need to avoid that
- * initgroups() requests from NSS hit our DC too badly for accounts
- * that will never be on the remote DC */
-
- if (lp_winbind_use_default_domain()) {
-
- const char **list = lp_winbind_initgroups_blacklist();
- int i;
-
- if (!list || !list[0]) {
- goto parse;
- }
-
- for (i=0; list[i] != NULL; i++) {
-
- if (strequal(state->request.data.username, list[i])) {
- DEBUG(3,("ignoring blacklisted user [%s] for getgroups\n",
- state->request.data.username));
- request_ok(state);
- return;
- }
- }
- }
- parse:
/* Parse domain and username */
s = TALLOC_P(state->mem_ctx, struct getgroups_state);