diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-24 10:58:52 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-11-25 13:23:30 +0100 |
commit | 47a94f7f817cf03f6f165127845b1685542ea4e5 (patch) | |
tree | 20a0fa1401ba86d2247945962c2f3edc0d29c837 | |
parent | 29735327f69d886051646a98f70df9b349b53308 (diff) | |
download | samba-47a94f7f817cf03f6f165127845b1685542ea4e5.tar.gz samba-47a94f7f817cf03f6f165127845b1685542ea4e5.tar.bz2 samba-47a94f7f817cf03f6f165127845b1685542ea4e5.zip |
s3: user_domain is not used in wb_getpwsid
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 25 13:23:30 CET 2011 on sn-devel-104
-rw-r--r-- | source3/winbindd/wb_getpwsid.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/winbindd/wb_getpwsid.c b/source3/winbindd/wb_getpwsid.c index 3c942f0857..5bd384be40 100644 --- a/source3/winbindd/wb_getpwsid.c +++ b/source3/winbindd/wb_getpwsid.c @@ -23,7 +23,6 @@ #include "../libcli/security/security.h" struct wb_getpwsid_state { - struct winbindd_domain *user_domain; struct tevent_context *ev; struct dom_sid sid; struct wbint_userinfo *userinfo; @@ -50,12 +49,6 @@ struct tevent_req *wb_getpwsid_send(TALLOC_CTX *mem_ctx, state->ev = ev; state->pw = pw; - state->user_domain = find_domain_from_sid_noinit(user_sid); - if (state->user_domain == NULL) { - tevent_req_nterror(req, NT_STATUS_NO_SUCH_USER); - return tevent_req_post(req, ev); - } - subreq = wb_queryuser_send(state, ev, &state->sid); if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); |