equal
deleted
inserted
replaced
83 ('auth-mode', |
83 ('auth-mode', |
84 {'type' : 'choice', |
84 {'type' : 'choice', |
85 'default': 'simple', |
85 'default': 'simple', |
86 'choices': ('simple', 'cram_md5', 'digest_md5', 'gssapi'), |
86 'choices': ('simple', 'cram_md5', 'digest_md5', 'gssapi'), |
87 'help': 'authentication mode used to authenticate user to the ldap.', |
87 'help': 'authentication mode used to authenticate user to the ldap.', |
88 'group': 'ldap-source', 'inputlevel': 1, |
88 'group': 'ldap-source', 'inputlevel': 3, |
89 }), |
89 }), |
90 ('auth-realm', |
90 ('auth-realm', |
91 {'type' : 'string', |
91 {'type' : 'string', |
92 'default': None, |
92 'default': None, |
93 'help': 'realm to use when using gssapi/kerberos authentication.', |
93 'help': 'realm to use when using gssapi/kerberos authentication.', |
94 'group': 'ldap-source', 'inputlevel': 1, |
94 'group': 'ldap-source', 'inputlevel': 3, |
95 }), |
95 }), |
96 |
96 |
97 ('data-cnx-dn', |
97 ('data-cnx-dn', |
98 {'type' : 'string', |
98 {'type' : 'string', |
99 'default': '', |
99 'default': '', |
150 ('synchronization-interval', |
150 ('synchronization-interval', |
151 {'type' : 'time', |
151 {'type' : 'time', |
152 'default': '1d', |
152 'default': '1d', |
153 'help': 'interval between synchronization with the ldap \ |
153 'help': 'interval between synchronization with the ldap \ |
154 directory (default to once a day).', |
154 directory (default to once a day).', |
155 'group': 'ldap-source', 'inputlevel': 2, |
155 'group': 'ldap-source', 'inputlevel': 3, |
156 }), |
156 }), |
157 ('cache-life-time', |
157 ('cache-life-time', |
158 {'type' : 'time', |
158 {'type' : 'time', |
159 'default': '2h', |
159 'default': '2h', |
160 'help': 'life time of query cache in minutes (default to two hours).', |
160 'help': 'life time of query cache in minutes (default to two hours).', |
161 'group': 'ldap-source', 'inputlevel': 2, |
161 'group': 'ldap-source', 'inputlevel': 3, |
162 }), |
162 }), |
163 |
163 |
164 ) |
164 ) |
165 |
165 |
166 def __init__(self, repo, appschema, source_config, *args, **kwargs): |
166 def __init__(self, repo, appschema, source_config, *args, **kwargs): |