Commit graph

32 commits

Author SHA1 Message Date
Benjamin Renard
bd4845f780 Switch to module style lib, make python3 compatibility and clean code 2021-05-19 18:07:42 +02:00
Benjamin Renard
aa2e1ee99f LdapServer.update_object(): add relax parameter 2021-03-24 18:16:23 +01:00
Benjamin Renard
45a0b99687 LdapServer: fix some pylint warnings 2021-03-24 13:49:08 +01:00
Benjamin Renard
8a62a8545d LdapServer: fix ident with 4 spaces instead of tab 2021-03-24 12:40:35 +01:00
Benjamin Renard
35187aebdf LdapServer: fix formating naive date/datetime 2021-03-24 12:37:03 +01:00
Benjamin Renard
6830447f96 Add support for ldapi URI (using Unix socket) 2021-03-24 12:34:29 +01:00
Benjamin Renard
bb5ef528b0 LdapServer: fix python3 compatibility 2021-03-24 12:33:45 +01:00
Benjamin Renard
933efd4086 LdapServer: fix handing new superior DN in rename_object() and add delete_old parameter 2020-12-16 10:07:39 +01:00
Benjamin Renard
4135d00dd3 LdapServer: Add paged_search() 2020-12-15 18:24:52 +01:00
Benjamin Renard
1f72a85b71 LdapServer: add get_object() method 2020-12-14 20:56:48 +01:00
Benjamin Renard
d336ab3a8d LdapServer: add get_changes() and format_changes() methods 2020-09-23 15:55:55 +02:00
Benjamin Renard
d49ae5aabb LdapServer.search(): add default filterstr and attrs parameter values 2020-09-23 15:55:17 +02:00
Benjamin Renard
66df317940 Fix hanlding errors logging 2020-09-23 15:54:16 +02:00
Benjamin Renard
b9a859c801 LdapServer: datetime/date helpers now handle special 'local' timezone as local server timezone 2020-09-18 14:47:26 +02:00
Benjamin Renard
f5659cb481 LdapServer : add naive parameter to parse/format datetime/date helper functions 2019-09-30 12:25:58 +02:00
Benjamin Renard
86b99b69a7 Add doc-string about datetime helpers 2019-07-25 14:07:13 +02:00
Benjamin Renard
46ecdc760a LdapServer / datetime helpers : support string for to_timezone parameter 2019-07-03 15:54:42 +02:00
f6d46e3870 Fix date/datetime helpers assertion errors 2019-06-16 12:34:10 +02:00
Benjamin Renard
5653c8172a Fix some bugs in datetime helpers and add tests 2019-06-13 19:59:44 +02:00
Benjamin Renard
74d8b4e913 Add datetime helpers 2019-06-13 19:15:14 +02:00
Benjamin Renard
0a127f0f8b LdapServer : add update_need() helper method 2019-04-19 10:00:19 +02:00
Benjamin Renard
9d42fa6c71 Add possibility to specify the scope of an LDAP search 2019-04-19 10:00:19 +02:00
Benjamin Renard
93d2133376 LdapServer : Add custom logger support 2018-12-12 17:11:23 +01:00
Benjamin Renard
f5771ca698 LdapServer :: update_object() : add ignore_attrs parameter 2018-02-16 10:52:30 +01:00
Benjamin Renard
a525bd586b Fix/improve error reporting 2018-02-13 15:30:38 +01:00
Benjamin Renard
0f69b2a713 get_attr : make case-insensitive on attribute name 2018-02-13 11:59:01 +01:00
Benjamin Renard
bf420f0a81 Improve message on modify error 2018-02-13 11:58:08 +01:00
Benjamin Renard
de9472a08a Add default parameter to get_attr method 2015-04-01 17:08:43 +02:00
Benjamin Renard
4faaf2c3ad Add rename_object method 2015-04-01 17:08:26 +02:00
Benjamin Renard
0a10f2f984 Raise LdapServerException instead of string 2015-04-01 17:07:49 +02:00
Benjamin Renard
8b874b7633 LdapServer : Review logging and exception handling 2014-06-25 19:16:18 +02:00
Benjamin Renard
9ba2a43a04 Initial commit 2013-06-07 12:13:03 +02:00