1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-23 13:20:03 +01:00

112 Commits

Author SHA1 Message Date
kakwa
dc7f07ab38 implement get_groups 2015-05-27 21:48:41 +02:00
kakwa
746c2a9978 fix logging in ldap backend 2015-05-26 23:12:33 +02:00
kakwa
9d314b6778 implement authentification 2015-05-26 22:51:57 +02:00
kakwa
c093905015 fix test on ldap backend 2015-05-26 22:51:29 +02:00
kakwa
91bc6bb18e reimplement get_user in ldap backend 2015-05-26 22:50:42 +02:00
kakwa
cb463b2a9d include ldapcherry.backend in setup.py 2015-05-26 08:50:31 +02:00
kakwa
03b703aea2 adding misc 2015-05-26 00:34:56 +02:00
kakwa
a1c7a529d8 adding methods add_user and del_user
* adding add_user
* adding del_user
* adding unit tests
* adding configuration parameters for adding users
2015-05-26 00:33:36 +02:00
kakwa
0f6e0c7cab adding objectclasses options 2015-05-25 22:53:34 +02:00
kakwa
16c757bdd4 factoring binding to the ldap 2015-05-25 22:17:17 +02:00
kakwa
4d29706eaf better code example 2015-05-25 19:55:18 +02:00
kakwa
8da0b7c533 code factoring 2015-05-25 19:52:54 +02:00
kakwa
7a7d6f5f6f implementing search users
* adding search
* adding unit tests
2015-05-25 19:30:41 +02:00
kakwa
6af8628d5d adding search template 2015-05-25 18:52:14 +02:00
kakwa
13cca11f51 adding skeleton of method search user 2015-05-24 17:32:03 +02:00
kakwa
97773549e0 fix method arguments 2015-05-24 15:20:17 +02:00
kakwa
efa7012adb more logical return for get_user 2015-05-24 15:11:49 +02:00
kakwa
b65fe7bc7b adding small example for backend ldap 2015-05-22 20:07:09 +02:00
kakwa
63062be433 multiple changes
* implemeting recover user attributes
* adding a unit test for unavailable ldap
* adding a parameter timeout to set the ldap timeout connexion
2015-05-22 20:05:24 +02:00
kakwa
6460c33b28 adding unit test for ldap server unavailable 2015-05-22 19:38:41 +02:00
kakwa
3fe59e4349 add passing attributes list to backend 2015-05-22 10:27:46 +02:00
kakwa
ab8c380bb1 adding the possibility to get a list of attributes in get_user 2015-05-22 09:51:46 +02:00
kakwa
f4906bb090 adding exception for wrong backend query 2015-05-22 09:50:44 +02:00
kakwa
74ed8fa0d4 adding method and unit tests to get all the attributes of one backend 2015-05-22 09:49:50 +02:00
kakwa
5b03596ed7 adding close connexion and exception handling 2015-05-22 01:48:27 +02:00
kakwa
31afad5ee9 implement unit test on auth test 2015-05-22 01:33:15 +02:00
kakwa
95232ba432 fix wrong call to method 2015-05-22 01:32:35 +02:00
kakwa
189079cf21 many fixes in unit tests + fix in params + fix in constant
Oh god, python-ldap is crap...
* add better unit test
* correct params name
* correct exception handling
* disable testConnectSSLNoCheck (impossible to test with a certificate
  previously defined)
2015-05-22 01:16:53 +02:00
kakwa
93ed190913 multiple changes
* change parameters name for Backend Ldap
* fix default value handling in backends get_param
* correct exception in backends get_param
* fix syntaxe error
* add backend name in test_BackendLdap.py
2015-05-21 21:40:13 +02:00
kakwa
cb843a40e5 correct the way variables are recovered by ldap backend 2015-05-21 19:55:11 +02:00
kakwa
3ab1cbcdb2 adding a get_param method + pass backend name to backend 2015-05-21 19:54:38 +02:00
kakwa
a8c61d33e6 partial testConnect implementation 2015-05-21 08:54:28 +02:00
kakwa
8a8294047c correction on example configuration file 2015-05-21 08:53:58 +02:00
kakwa
991197e7d2 fix backend name 2015-05-21 08:52:48 +02:00
kakwa
1ac474647b fix backend name (collision with libraries name) 2015-05-21 08:52:06 +02:00
kakwa
b67e0112c5 adding skeleton for ldap backed 2015-05-21 08:33:56 +02:00
kakwa
1020c454d0 begin ldap backend implementation 2015-05-20 17:13:18 +02:00
kakwa
fc188df49e better logs 2015-05-20 15:16:01 +02:00
kakwa
e769aed10e adding unit tests for exception while loading module 2015-05-20 14:46:29 +02:00
kakwa
1e5f057e36 implementing loading backends
* fix conf file
* add exceptions
* fix modules skeletons
2015-05-20 14:21:43 +02:00
kakwa
6a610c079e multiple modifications:
* adding logs in conf loading
* fixing attributes/roles handling in class LdapCherry
* fix unit test on logs
* add unit test for random exception
2015-05-20 12:44:33 +02:00
kakwa
b653f5512c adding unit test for missing backend 2015-05-19 18:36:16 +02:00
kakwa
2c4ce35b52 adding unit tests for missing parameters in main conf file 2015-05-19 18:30:58 +02:00
kakwa
bb56bdea6f adding unit tests 2015-05-19 18:18:59 +02:00
kakwa
114799f684 small debug script for class LdapCherry 2015-05-19 17:55:46 +02:00
kakwa
544866ce56 set log level to debug for test configuration 2015-05-19 17:55:02 +02:00
kakwa
8a0404d48e adding base template for web pages 2015-05-19 17:54:17 +02:00
kakwa
56be37ff38 implementing backends parsing of main config file 2015-05-19 17:53:14 +02:00
kakwa
a3938c73b4 init backends initialization method 2015-05-19 00:14:34 +02:00
kakwa
caf799ba2a fix default configuration 2015-05-19 00:12:41 +02:00