summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_netgroups.c
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_netgroups.c
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_netgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_netgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c
index 57dbcde81..265fcf0ea 100644
--- a/src/providers/ldap/sdap_async_netgroups.c
+++ b/src/providers/ldap/sdap_async_netgroups.c
@@ -121,7 +121,7 @@ static errno_t sdap_save_netgroup(TALLOC_CTX *memctx,
DEBUG(6, ("Storing info for netgroup %s\n", name));
- ret = sdap_save_all_names(name, attrs, !dom->case_sensitive,
+ ret = sdap_save_all_names(name, attrs, dom,
netgroup_attrs);
if (ret != EOK) {
DEBUG(1, ("Failed to save netgroup names\n"));