src/pyams_ldap/zmi/plugin.py
changeset 16 59c957423fe8
parent 13 e900be5278fb
child 17 0d6dc6d3b962
--- a/src/pyams_ldap/zmi/plugin.py	Mon Jan 18 18:02:35 2016 +0100
+++ b/src/pyams_ldap/zmi/plugin.py	Thu Jun 02 15:38:05 2016 +0200
@@ -137,7 +137,8 @@
     tab_label = _("Users schema")
     legend = None
     fields = field.Fields(ILDAPPlugin).select('base_dn', 'search_scope', 'login_attribute', 'login_query',
-                                              'uid_attribute', 'uid_query', 'title_format')
+                                              'uid_attribute', 'uid_query', 'title_format',
+                                              'mail_attribute', 'user_extra_attributes')
     weight = 2
 
 
@@ -148,8 +149,12 @@
     id = 'ldap_groups_form'
     tab_label = _("Groups schema")
     legend = None
-    fields = field.Fields(ILDAPPlugin).select('groups_base_dn', 'groups_search_scope', 'groups_query',
-                                              'group_prefix', 'group_uid_attribute', 'group_title_format')
+    fields = field.Fields(ILDAPPlugin).select('groups_base_dn', 'groups_search_scope', 'group_prefix',
+                                              'group_uid_attribute', 'group_title_format',
+                                              'group_members_query_mode', 'groups_query',
+                                              'group_members_attribute', 'user_groups_attribute', 'group_mail_mode',
+                                              'group_replace_expression', 'group_mail_attribute',
+                                              'group_extra_attributes')
     weight = 3
 
 
@@ -232,7 +237,8 @@
     tab_label = _("Users schema")
     legend = None
     fields = field.Fields(ILDAPPlugin).select('base_dn', 'search_scope', 'login_attribute', 'login_query',
-                                              'uid_attribute', 'uid_query', 'title_format')
+                                              'uid_attribute', 'uid_query', 'title_format',
+                                              'mail_attribute', 'user_extra_attributes')
     weight = 2
 
 
@@ -243,8 +249,12 @@
     id = 'ldap_groups_form'
     tab_label = _("Groups schema")
     legend = None
-    fields = field.Fields(ILDAPPlugin).select('groups_base_dn', 'groups_search_scope', 'groups_query',
-                                              'group_prefix', 'group_uid_attribute', 'group_title_format')
+    fields = field.Fields(ILDAPPlugin).select('groups_base_dn', 'groups_search_scope', 'group_prefix',
+                                              'group_uid_attribute', 'group_title_format',
+                                              'group_members_query_mode', 'groups_query',
+                                              'group_members_attribute', 'user_groups_attribute', 'group_mail_mode',
+                                              'group_replace_expression', 'group_mail_attribute',
+                                              'group_extra_attributes')
     weight = 3