summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-05-29 00:56:53 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-07 00:14:13 +0200
commit3ca846cfb59dee6e20b94c4aee2716f1a20ebd3a (patch)
tree9cc777431457b2f827864a8b744b019534aec33c /src/providers/ldap/sdap_async.h
parent556040eac686265f8a3b20e2a744210607cba95c (diff)
downloadsssd-3ca846cfb59dee6e20b94c4aee2716f1a20ebd3a.tar.gz
sssd-3ca846cfb59dee6e20b94c4aee2716f1a20ebd3a.tar.xz
sssd-3ca846cfb59dee6e20b94c4aee2716f1a20ebd3a.zip
LDAP: store FQDNs for trusted users and groups
Because the NSS responder expects the name attribute to contain FQDN, we must save the name as FQDN in the LDAP provider if the domain we save to is a subdomain.
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r--src/providers/ldap/sdap_async.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h
index 38d94d8b4..c8031c9a9 100644
--- a/src/providers/ldap/sdap_async.h
+++ b/src/providers/ldap/sdap_async.h
@@ -210,10 +210,11 @@ sdap_attrs_add_ldap_attr(struct sysdb_attrs *ldap_attrs,
sdap_attrs_add_ldap_attr(ldap_attrs, attr_name, attr_desc, \
true, name, attrs)
-errno_t sdap_save_all_names(const char *name,
- struct sysdb_attrs *ldap_attrs,
- bool lowercase,
- struct sysdb_attrs *attrs);
+errno_t
+sdap_save_all_names(const char *name,
+ struct sysdb_attrs *ldap_attrs,
+ struct sss_domain_info *dom,
+ struct sysdb_attrs *attrs);
struct tevent_req *
sdap_get_services_send(TALLOC_CTX *memctx,