diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-11-09 11:31:02 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-27 18:24:44 +0100 |
commit | 17f9255e08337876fd8c1c1342111ca14d1c89c4 (patch) | |
tree | 0708e6e2867a980775238bed5debb2126e7f6cf9 | |
parent | c0d1eaeed0bc267fd395ee151a7e0f9f50cb7300 (diff) | |
download | sssd-17f9255e08337876fd8c1c1342111ca14d1c89c4.tar.gz sssd-17f9255e08337876fd8c1c1342111ca14d1c89c4.tar.xz sssd-17f9255e08337876fd8c1c1342111ca14d1c89c4.zip |
Remove unused parameter from get_user_dn
-rw-r--r-- | src/providers/ldap/ldap_auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_auth.c b/src/providers/ldap/ldap_auth.c index 62e5184e0..91879291e 100644 --- a/src/providers/ldap/ldap_auth.c +++ b/src/providers/ldap/ldap_auth.c @@ -485,7 +485,6 @@ static int get_user_dn_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, } static int get_user_dn(TALLOC_CTX *memctx, - struct sysdb_ctx *sysdb, struct sss_domain_info *domain, struct sdap_options *opts, const char *username, @@ -744,7 +743,7 @@ static void auth_connect_done(struct tevent_req *subreq) state->srv, PORT_WORKING); } - ret = get_user_dn(state, state->ctx->be->domain->sysdb, state->ctx->be->domain, + ret = get_user_dn(state, state->ctx->be->domain, state->ctx->opts, state->username, &state->dn, &state->pw_expire_type, &state->pw_expire_data); if (ret == EOK) { |