diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 00:06:24 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:02 +0100 |
commit | 043bda72889e9ef0c48b80b21c99e9e18c5f49d7 (patch) | |
tree | c85ed2d729c66a72b8b12a2b97bba839766f2ad1 /src/db/sysdb.c | |
parent | 9a7b6d3248c5aac460e164f2246b26131cfbc055 (diff) | |
download | sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.gz sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.tar.xz sssd-043bda72889e9ef0c48b80b21c99e9e18c5f49d7.zip |
Add domain arguemnt to sysdb_get_real_name()
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r-- | src/db/sysdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 65a0140f3..7d6ef1908 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -1807,6 +1807,7 @@ done: errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, const char *name, const char **_cname) { @@ -1820,7 +1821,7 @@ errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx, return ENOMEM; } - ret = sysdb_getpwnam(tmp_ctx, sysdb, sysdb->domain, name, &res); + ret = sysdb_getpwnam(tmp_ctx, sysdb, domain, name, &res); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("Cannot canonicalize username\n")); goto done; |