summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_initgroups.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 00:06:24 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:02 +0100
commit043bda72889e9ef0c48b80b21c99e9e18c5f49d7 (patch)
treec85ed2d729c66a72b8b12a2b97bba839766f2ad1 /src/providers/ldap/sdap_async_initgroups.c
parent9a7b6d3248c5aac460e164f2246b26131cfbc055 (diff)
downloadsssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.gz
sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.xz
sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.zip
Add domain arguemnt to sysdb_get_real_name()
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index a489ca6d1..698c9e1c2 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -2711,7 +2711,8 @@ static void sdap_get_initgr_user(struct tevent_req *subreq)
}
in_transaction = false;
- ret = sysdb_get_real_name(state, state->sysdb, state->name, &cname);
+ ret = sysdb_get_real_name(state, state->sysdb,
+ state->dom, state->name, &cname);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, ("Cannot canonicalize username\n"));
tevent_req_error(req, ret);