From 10f2902a1a630cdc952263b5dc5f41fb557e2791 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Wed, 10 Sep 2014 12:41:16 +0200 Subject: Add alternative objectClass to group attribute maps In IPA we sometimes need to use posixGroup and sometimes groupOfNames objectclass to query the groups. This patch adds the possibility to specify alternative objectclass in group maps. By default it is only set for IPA. Fixes: https://fedorahosted.org/sssd/ticket/2436 Reviewed-by: Jakub Hrozek (cherry picked from commit 6f91c61426c8cfbfec52d5e77ae4650007694e69) (cherry picked from commit cfa74fcb5f6ba23f41a9ddaa76c3ebae6156da86) --- src/providers/ldap/sdap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/providers/ldap/sdap.h') diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index e92d51332..64d718c1e 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -290,6 +290,7 @@ enum sdap_user_attrs { * Functions depend on this */ enum sdap_group_attrs { SDAP_OC_GROUP = 0, + SDAP_OC_GROUP_ALT, SDAP_AT_GROUP_NAME, SDAP_AT_GROUP_PWD, SDAP_AT_GROUP_GID, -- cgit