summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.c
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-10-08 15:13:58 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commitb3292840ebaa747a9fd596ff47cc5d18198361d0 (patch)
tree4bd2561d5dcd6c1d8a2eea61846e8763032e4d34 /src/providers/ldap/sdap_access.c
parent17759fc794c22898d1db609b736fbcd77536d150 (diff)
downloadsssd-b3292840ebaa747a9fd596ff47cc5d18198361d0.tar.gz
sssd-b3292840ebaa747a9fd596ff47cc5d18198361d0.tar.xz
sssd-b3292840ebaa747a9fd596ff47cc5d18198361d0.zip
SYSDB: Drop the sysdb_ctx parameter from the sysdb_search module
Diffstat (limited to 'src/providers/ldap/sdap_access.c')
-rw-r--r--src/providers/ldap/sdap_access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index 6b387271a..1934e4f0f 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -112,8 +112,7 @@ sdap_access_send(TALLOC_CTX *mem_ctx,
}
/* Get original user DN, domain already points to the right (sub)domain */
- ret = sysdb_get_user_attr(state, domain->sysdb, domain,
- pd->user, attrs, &res);
+ ret = sysdb_get_user_attr(state, domain, pd->user, attrs, &res);
if (ret != EOK) {
if (ret == ENOENT) {
/* If we can't find the user, return access denied */