summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wb_common.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
commit3928578b52cfc949be5e0ef444fce1558d75f290 (patch)
tree651ed4a38e217dfa3f3874e7db8e45e7429af1f0 /source/nsswitch/wb_common.c
parenteac75549c398f208484ae735d5a5931fed6d0e99 (diff)
downloadsamba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.gz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.xz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.zip
sync 3.0 branch with head
Diffstat (limited to 'source/nsswitch/wb_common.c')
-rw-r--r--source/nsswitch/wb_common.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source/nsswitch/wb_common.c b/source/nsswitch/wb_common.c
index 89dd6252412..9bc9faafb50 100644
--- a/source/nsswitch/wb_common.c
+++ b/source/nsswitch/wb_common.c
@@ -28,7 +28,6 @@
/* Global variables. These are effectively the client state information */
int winbindd_fd = -1; /* fd for winbindd socket */
-static char *excluded_domain;
/* Free a response structure */
@@ -40,16 +39,6 @@ void free_response(struct winbindd_response *response)
SAFE_FREE(response->extra_data);
}
-/*
- smbd needs to be able to exclude lookups for its own domain
-*/
-void winbind_exclude_domain(const char *domain)
-{
- SAFE_FREE(excluded_domain);
- excluded_domain = strdup(domain);
-}
-
-
/* Initialise a request structure */
void init_request(struct winbindd_request *request, int request_type)
@@ -325,12 +314,6 @@ NSS_STATUS winbindd_send_request(int req_type, struct winbindd_request *request)
return NSS_STATUS_NOTFOUND;
}
- /* smbd may have excluded this domain */
- if (excluded_domain &&
- strcasecmp(excluded_domain, request->domain) == 0) {
- return NSS_STATUS_NOTFOUND;
- }
-
if (!request) {
ZERO_STRUCT(lrequest);
request = &lrequest;