kakwa
cf91e69eba
fix restart of samba in test env
2016-06-17 08:09:44 +02:00
kakwa
5f1074bb26
fixing samba DC deployment for newer version of samba
2016-06-17 08:03:10 +02:00
kakwa
90d92009e3
more cleanup in test_env deploy.sh
2016-06-17 07:58:53 +02:00
kakwa
569aaac5a6
fix unittest because of new mandatory param for Active Directory
2016-06-17 07:52:49 +02:00
kakwa
ffac99994c
Merge branch 'master' of https://github.com/kakwa/ldapcherry
2016-06-17 07:47:07 +02:00
kakwa
ab81f4258e
fix test configurations to take into account mandatory params for Active Directory
2016-06-17 07:46:19 +02:00
kakwa
f7bbff4cec
trying to cleanup travis build env
2016-06-17 00:15:14 +02:00
kakwa
9c1dc8112a
add unit test for login failure
2015-10-20 22:42:29 +02:00
kakwa
1d97e01540
adding unit tests for demo backend
2015-10-20 22:17:23 +02:00
kakwa
807ac93956
better unit tests on authentication
2015-10-20 20:22:38 +02:00
kakwa
53676db341
small code reorganization
...
* extraction of exception decorator
* extraction of log handling
2015-10-19 20:14:49 +02:00
kakwa
ecbf112677
fix unit test on duplicate user exception
2015-07-31 22:54:21 +02:00
kakwa
efcaad54fc
multiple modification/fix
...
* add display_name parameter for backend
* handle display_name in modify template (lonely groups) and error
message
* fix bug in modify when user is in only one backend
* remove redondant exception in ad/ldap backend
* fix unit test accordingly
* fix License in AD backend (GPLv3 -> MIT, previously tought of using
samba4 python library which is GPL, but this module finaly uses
python-ldap which is MIT compatible)
2015-07-31 20:08:21 +02:00
kakwa
5d40cad342
adding utf-8 char in unit tests for ldap backend
2015-07-29 00:09:32 +02:00
kakwa
2a4815e142
fix unit tests
2015-07-26 09:26:04 +02:00
kakwa
cee73ceb93
adding check function to validate attributes type
2015-07-14 11:21:33 +02:00
kakwa
11064322db
adding check for reserved password keys
2015-07-13 09:10:36 +02:00
kakwa
1a37cb23a9
adding unit test on selfmodify
2015-07-05 23:09:13 +02:00
kakwa
df88f2f266
remove trailing spaces
2015-07-05 22:48:24 +02:00
kakwa
98cbeb9af5
remove empty line
2015-07-05 22:46:18 +02:00
kakwa
b8f37aa545
adding unit test for _parse_params
2015-07-05 22:35:45 +02:00
kakwa
287ef63215
remove useless test
2015-07-05 22:30:11 +02:00
kakwa
e9d5331d6a
various fix on ssl/tls + tests
...
* making ssl cert check and cert no check works
* adding a test to check if the cafile does exist
* reenable and fix ssl checks on travis
2015-07-05 22:01:09 +02:00
kakwa
405367fd75
various fixes in html + unit tests on html
2015-07-05 17:50:42 +02:00
kakwa
5d7f6ee12c
adding html validation in ubit tests
2015-07-05 16:35:32 +02:00
kakwa
4a55d040f9
adding unit test for ppolicy
2015-07-03 20:26:02 +02:00
kakwa
721582304f
disable ssl in test configuration
2015-06-28 23:48:07 +02:00
kakwa
2bfd54210f
fix test configuration
2015-06-28 23:42:38 +02:00
kakwa
2d953030d5
adding various unit tests
2015-06-28 23:34:26 +02:00
kakwa
f1153137bc
adding proper acl in test ldap configuration
2015-06-28 22:03:34 +02:00
kakwa
719fa15c74
fixing get_roles unit test
2015-06-19 22:18:36 +02:00
kakwa
234a82b3bd
fix test ldap content
2015-06-18 21:06:30 +02:00
kakwa
b0e7df32b9
adding ldap groups to test group management
2015-06-18 20:37:23 +02:00
kakwa
5e508c6613
removing crapy configuration file
2015-06-18 20:36:37 +02:00
kakwa
01de849204
list of roles and not a uniq role for get_groups
2015-06-18 10:04:20 +02:00
kakwa
a8f1b7be59
reverse because no effect + disable ssl unit test on travis
2015-06-18 00:23:00 +02:00
kakwa
c75fd2c568
fix decorator to disable check on travis
2015-06-17 23:59:44 +02:00
kakwa
a3c75f97f5
adding unit test for starttls
2015-06-17 22:51:33 +02:00
kakwa
05a897f355
fix path to ca
2015-06-17 22:41:42 +02:00
kakwa
c6ffdc20d8
reenable ssl no cert check
2015-06-17 22:20:21 +02:00
kakwa
37dcbc9246
fix configuration of unit test
2015-06-17 21:49:23 +02:00
kakwa
9dd9a9818c
test with ldap and not ldaps
2015-06-17 21:24:00 +02:00
kakwa
e029c6701b
test for travis
2015-06-17 21:02:10 +02:00
kakwa
4321d48dc2
more logs
2015-06-17 20:51:21 +02:00
kakwa
567e4c7d5f
greater timeout
2015-06-17 20:30:26 +02:00
kakwa
8269371588
trying to fix /etc/hosts
2015-06-17 19:58:05 +02:00
kakwa
ce357dbdc7
fix /etc/hosts for test env
2015-06-17 19:40:01 +02:00
kakwa
c2288eecf5
fix unit test and fix the way ldap connexion options are handled
2015-06-17 19:22:57 +02:00
kakwa
42a1e13db4
adding test for add/delete groups
2015-06-17 00:39:03 +02:00
kakwa
a7fcad01ed
small reorganization
2015-06-17 00:06:30 +02:00