summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getpwnam.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-12-07 10:54:21 +0100
committerRalph Boehme <slow@samba.org>2018-01-10 01:01:23 +0100
commit6d339b480051b5efc80b895e97c2eaaf8dea6893 (patch)
treee220c57441e892975a8af677a8ddac00d93ca0a0 /source3/winbindd/winbindd_getpwnam.c
parent22e309e541a1352a2a250d92a72434bb71c2bf45 (diff)
downloadsamba-6d339b480051b5efc80b895e97c2eaaf8dea6893.tar.gz
winbindd: remove 'winbind trusted domains only' handling
This parameter is already deprecated in favor of the newer idmap_nss backend. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_getpwnam.c')
-rw-r--r--source3/winbindd/winbindd_getpwnam.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/winbindd/winbindd_getpwnam.c b/source3/winbindd/winbindd_getpwnam.c
index f2c93362ca8..73d3b3317ad 100644
--- a/source3/winbindd/winbindd_getpwnam.c
+++ b/source3/winbindd/winbindd_getpwnam.c
@@ -71,15 +71,6 @@ struct tevent_req *winbindd_getpwnam_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- if (lp_winbind_trusted_domains_only()
- && strequal(state->domname, lp_workgroup())) {
- DEBUG(7,("winbindd_getpwnam: My domain -- "
- "rejecting getpwnam() for %s\\%s.\n",
- state->domname, state->username));
- tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER);
- return tevent_req_post(req, ev);
- }
-
subreq = wb_lookupname_send(state, ev, state->domname, state->username,
LOOKUP_NAME_NO_NSS);
if (tevent_req_nomem(subreq, req)) {