1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-02 17:18:05 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
kakwa
18fdeb483e better handling of the str/byte mess for python3
* add dedicated methods for python 3 in handling of bytearrays/strings
* using them to compare attributes checks in AD backend
2019-02-08 20:33:58 +01:00
kakwa
12c511b537 switch to explicit bytearray for checking missing params 2019-02-08 00:11:01 +01:00
kakwa
7019cc2348 fix setup.py 2017-04-06 20:58:20 +02:00
kakwa
eb36830845 fixes 2017-03-16 03:03:59 +01:00
kakwa
f863b230dd fix pep8 error 2016-07-29 07:41:42 +02:00
kakwa
9fb32f11be fix many encoding errors 2016-07-28 21:07:10 +02:00
kakwa
320f57ab76 fix self user password modification in AD Backend
In some forms, the 'cn' attribute might not be accessible.
The _set_password method relied on 'cn' to build the user dn.
Now it accepts the cn or the dn (by_cn switch).
2016-07-21 07:33:14 +02:00
Carpentier Pierre-Francois
caef6a889e Fix encoding issues in AD backend 2016-07-06 14:00:36 +02:00
kakwa
b8a65a44b6 pepify the source code 2016-06-17 00:10:02 +02:00
kakwa
d8631da7ba making some attributes explicitly mandatory for Active Directory backend 2016-06-16 22:32:44 +02:00
kakwa
c969e730c4 fix password setting with Active Directory 2016-06-16 21:49:48 +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
383c68f8b8 fix authentification for AD backend 2015-07-29 00:22:25 +02:00
kakwa
f2c1a6af44 many fixes in encoding handling 2015-07-28 23:27:02 +02:00
kakwa
5459830269 removing utf-8 crap in AD backend
the crap must be fixed in LDAP backend first
2015-07-28 22:19:49 +02:00
kakwa
b9903e62ff fix pep8 compliance 2015-07-28 20:41:02 +02:00
kakwa
95d6a0e6a4 typo + add/del group in AD backend
* implementing add_to_group and del_from_group in AD backend.
* fixing typo self.objetclasses => self.objectclasses
2015-07-28 20:36:06 +02:00
kakwa
ac0a3473f7 fix recovery of groups in AD backend 2015-07-26 14:26:59 +02:00
kakwa
0914e141ec adding filter for ad backend 2015-07-26 10:37:20 +02:00
kakwa
23b3dbfbe3 fix search template for AD backend 2015-07-26 10:23:43 +02:00
kakwa
2a4815e142 fix unit tests 2015-07-26 09:26:04 +02:00
kakwa
f0d43d9460 renaming and begining implementing the ad backend 2015-07-25 22:04:48 +02:00