summaryrefslogtreecommitdiff
path: root/src/providers
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
parent9a7b6d3248c5aac460e164f2246b26131cfbc055 (diff)
downloadsssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.gz
sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.bz2
sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.zip
Add domain arguemnt to sysdb_get_real_name()
Diffstat (limited to 'src/providers')
-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 a489ca6d..698c9e1c 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);