diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-09-21 16:55:21 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-06 14:19:37 +0200 |
commit | d7d3ee1b8ab7a05129c83da8a185351d7c751c1c (patch) | |
tree | f2c2d9a2626791c412f661d08bed43c8eca69f99 /src/db/sysdb.h | |
parent | e4f6562e4043aa645088862d1cc657c3eff43c49 (diff) | |
download | sssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.tar.gz sssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.tar.xz sssd-d7d3ee1b8ab7a05129c83da8a185351d7c751c1c.zip |
SYSDB: move sysdb_get_real_name() from sysdb.c to sysdb_search.c
The sysdb.c should be reserved for utility and setup functions. Search
functions belong to sysdb_search.c Keeping functions in specialized
modules helps to maintain nice dependencies and in overall makes unit
testing easier.
Moreover, the function was not unit tested, which needed fixing.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 81b39252c..2c5e8316f 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -329,7 +329,7 @@ errno_t sysdb_attrs_primary_name_list(struct sysdb_ctx *sysdb, char ***name_list); errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, - const char *name, + const char *name_or_upn, const char **_cname); errno_t sysdb_msg2attrs(TALLOC_CTX *mem_ctx, size_t count, |