ldap: adde common ldap-ce na ldap-ee structure, and extend options

- added timeout
- make the code more shared
- allow specification of tls certdir and certfile manually
This commit is contained in:
Marcin Kuzminski 2018-11-25 18:47:15 +01:00
parent fc6891786b
commit e1bbb01dab
3 changed files with 205 additions and 179 deletions

View file

@ -89,7 +89,7 @@ class TestAuthSettingsView(object):
'timeout': 3600,
'tls_kind': 'PLAIN',
'tls_reqcert': 'NEVER',
'tls_cert_dir':'/etc/openldap/cacerts',
'dn_user': 'test_user',
'dn_pass': 'test_pass',
'base_dn': 'test_base_dn',