1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-11 12:08:51 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
kakwa
d4235bc33c better behavior if user doesn't exist in one backend 2016-07-31 11:39:28 +02:00
kakwa
f21122b219 fix AD test configuration 2016-07-31 11:32:02 +02:00
kakwa
01aaf476c1 code multi-backends setups tests + new unit test
* add a ldap+ad setup and code for direct, only AD manipulation
* add unit test for _deleteuser if it doesn't exist in all backends
2016-07-31 10:10:51 +02:00
kakwa
cf97f01245 adding configuration for AD + LDAP setup 2016-07-31 10:05:29 +02:00
kakwa
dcdc260f33 disable unit tests for AD on travis
Setting up a test env with samba 4 as AD doesn't seem possible on
travis. there is no other choice than disabling the AD unit tests
if we are on travis
2016-07-29 07:37:25 +02:00
kakwa
2e98e380df adding slow_disabled decorator on html check unit tests 2016-07-29 07:36:32 +02:00
kakwa
52557afa6a adding a decorator to disable slow tests
if env var LCNOSLOW=yes, the slowest tests are disable
2016-07-29 07:34:58 +02:00
kakwa
f967630043 adding unitests for backend AD 2016-07-28 21:07:40 +02:00
kakwa
64e0bba74c trying again... 2016-07-28 19:53:57 +02:00
kakwa
ff950dd88b more unicode testing 2016-07-28 19:53:32 +02:00
kakwa
9367bc3288 fix unit tests 2016-07-28 07:32:12 +02:00
kakwa
d1ec945fe2 adding possible missing winbind 2016-07-28 06:44:02 +02:00
kakwa
0f28309344 trying something else... 2016-07-28 06:34:48 +02:00
kakwa
0263d52edf killing dnsmasq 2016-07-27 21:42:15 +02:00
kakwa
127b106082 trying again to have a test env... 2016-07-27 21:13:56 +02:00
kakwa
6fd849fa50 trying again to have a test env... 2016-07-27 21:13:18 +02:00
kakwa
ca974ab801 trying to stop dnsmasq (to use samba internal) 2016-07-27 21:10:02 +02:00
kakwa
9b3d232503 trying to set hostname to kerberos realm 2016-07-27 21:06:31 +02:00
kakwa
1ccb4bf732 test killing samba processes before ad-dc start 2016-07-22 21:38:40 +02:00
kakwa
d484ee1ed0 more debugging 2016-07-22 21:31:58 +02:00
kakwa
bb05934284 more debuging for ad-dc setup 2016-07-22 21:19:38 +02:00
kakwa
6ef44b9b2e try to enable samba ad in test env 2016-07-10 09:53:09 +02:00
kakwa
0beac119f9 fix many error with html unescaped attributes 2016-07-08 21:46:00 +02:00
kakwa
91a1f3e7e3 debuging travis test env 2016-07-08 07:19:34 +02:00
kakwa
6c3fb4975d fix many encoding errors on login and password 2016-07-07 20:22:33 +02:00
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