summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-12-12 18:47:27 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-16 14:46:16 -0500
commita26ea060ec4001daf5614bd9afcc092d29174662 (patch)
tree4d6bf14aff848d3da8d61b05364d80c49466be2a /src/db/sysdb.h
parent70a33bdf7db34fe4d1ba194cf9ea28c758719b4b (diff)
downloadsssd-a26ea060ec4001daf5614bd9afcc092d29174662.tar.gz
sssd-a26ea060ec4001daf5614bd9afcc092d29174662.tar.xz
sssd-a26ea060ec4001daf5614bd9afcc092d29174662.zip
sysdb_get_real_name helper function
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 5fc36ab5a..e5e781f6a 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -248,6 +248,10 @@ errno_t sysdb_attrs_primary_name_list(struct sysdb_ctx *sysdb,
size_t attr_count,
const char *ldap_attr,
char ***name_list);
+errno_t sysdb_get_real_name(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *sysdb,
+ const char *name,
+ const char **_cname);
/* convert an ldb error into an errno error */
int sysdb_error_to_errno(int ldberr);