diff options
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index caef6163..e9842655 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -215,6 +215,10 @@ int sysdb_attrs_users_from_ldb_vals(struct sysdb_attrs *attrs, const char *domain, struct ldb_val *values, int num_values); +errno_t sysdb_attrs_primary_name(struct sysdb_ctx *sysdb, + struct sysdb_attrs *attrs, + const char *ldap_attr, + const char **_primary); /* convert an ldb error into an errno error */ int sysdb_error_to_errno(int ldberr); |