diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-07-16 13:33:58 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-19 15:50:36 +0200 |
commit | b7afe5caaaeae1e92479284a7f555aee4ba23422 (patch) | |
tree | 79741f48e57f3ffa2d2ca0092a9099c172bab9b9 /src/providers/ldap/sdap.h | |
parent | 895f045dd4aad7f5857826cc1496cfa048a790dd (diff) | |
download | sssd-b7afe5caaaeae1e92479284a7f555aee4ba23422.tar.gz sssd-b7afe5caaaeae1e92479284a7f555aee4ba23422.tar.xz sssd-b7afe5caaaeae1e92479284a7f555aee4ba23422.zip |
IPA: new attribute map for non-posix groups
Create new set of attributes to be used when processing non-posix groups.
Resolves:
https://fedorahosted.org/sssd/ticket/2343
Reviewed-by: Michal Židek <mzidek@redhat.com>
(cherry picked from commit 4c560e7b98e7ab71d22be24d2fbc468396cb634f)
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r-- | src/providers/ldap/sdap.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index a766779e5..567cf42a3 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -301,6 +301,16 @@ enum sdap_group_attrs { SDAP_OPTS_GROUP /* attrs counter */ }; +/* the objectclass must be the first attribute. + * Functions depend on this */ +enum sdap_np_group_attrs { + SDAP_OC_NP_GROUP = 0, + SDAP_AT_NP_GROUP_NAME, + SDAP_AT_NP_GROUP_MEMBER, + + SDAP_OPTS_NP_GROUP /* attrs counter */ +}; + enum sdap_netgroup_attrs { SDAP_OC_NETGROUP = 0, SDAP_AT_NETGROUP_NAME, @@ -413,6 +423,7 @@ struct sdap_options { struct sdap_attr_map *user_map; size_t user_map_cnt; struct sdap_attr_map *group_map; + struct sdap_attr_map *np_group_map; struct sdap_attr_map *netgroup_map; struct sdap_attr_map *service_map; |