mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-18 15:56:38 +02:00
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bdb7127d27 | |||
| 988d420e44 | |||
| bfd0544ff8 | |||
| c941ef307c | |||
| 1e43cdc715 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| bdb7127d27 |
ldap.Connection.walk(): Support decode & unroll
The entry instance passed to the walk callback contains raw results of LDAP search operations, i.e. all attribute values are lists, and all attribute values are bytes. Add the boolean parameters decode and unroll to walk() as a convenience method to get decoded values. They default to False, representing current behaviour. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 988d420e44 |
ldap.Connection: Support uri config option
Currently the configuration passed to the Connection constructor needs to contain an ldap_uri entry. Add "uri" as alias, because ldap_uri for the LDAP config in many contexts represents a tautology and is left out. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| bfd0544ff8 |
Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| c941ef307c |
jwutils.ldap: Introduce 'password' alias for 'bind_pw'
jw-client-devops configures its databases with a set of config keys which are identical - except for the 'bind_pw' key, which is called 'password'. Allow that, too. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 1e43cdc715 |
jwutils.ldap: Add module
Signed-off-by: Jan Lindemann <jan@janware.com> |