Commit Graph

15 Commits

Author SHA1 Message Date
Marco Huenseler
a396d8da41
Merge pull request #10 from bu3tt1/master
Removed the upper version bound of LDAP version
2020-03-10 16:28:43 +01:00
bu3tt1
00d0c93846
Removed the upper version bound of LDAP version 2020-03-10 09:05:57 +01:00
Marco Huenseler
c399db0c29
Merge pull request #8 from indication/master
Add ldap_support_extended configuration
2019-08-06 12:43:42 +02:00
in dow
a01e3ada3f
Add ldap_support_extended configuration
* Add ldap_support_extended configuration

For samba, extended command is not supported.
To solve, add configuration to call whoami or not.

```
DEBUG:ldap3:EXTENDED:ldap message received via <ldaps://samba:636 - ssl - user: CN=test2,CN=Users,DC=samba,DC=dom - not lazy - bound - open - <local: 172.18.0.0:33916 - remote: 172.18.0.0:636> - tls not started - listening - SyncStrategy - internal decoder>:
<<{'controls': None,
<< 'messageID': 9,
<< 'payload': [(0, False, 10, 2),
<<             (0, False, 4, b''),
<<             (0,
<<              False,
<<              4,
<<              b'Extended Operation(1.3.6.1.4.1.4203.1.11.3) not supported'),
<<             (2, False, 10, b'1.3.6.1.4.1.4203.1.11.3')],
<< 'protocolOp': 24}
DEBUG:ldap3:PROTOCOL:EXTENDED response <[{'result': 2, 'description': 'protocolError', 'dn': '', 'message': 'Extended Operation(1.3.6.1.4.1.4203.1.11.3) not supported', 'referrals': None, 'responseName': '1.3.6.1.4.1.4203.1.11.3', 'responseValue': b'', 'type': 'extendedResp'}]> received via <ldaps://samba:636 - ssl - user: CN=test2,CN=Users,DC=samba,DC=dom - not lazy - bound - open - <local: 172.18.0.0:33916 - remote: 172.18.0.0:636> - tls not started - listening - SyncStrategy - internal decoder>
DEBUG:ldap3:BASIC:done EXTENDED operation, result <False>
```

* Update README.md
2019-05-23 21:35:06 +09:00
Marco Huenseler
aab208e7fd
Merge pull request #5 from naominitel/anon-bind-open
Calling .bind() is required even when doing an anonymous bind.
2018-02-11 13:06:30 +01:00
Naomi Nitel
a7ed464d23 Calling .bind() is required even when doing an anonymous bind. 2018-02-07 11:17:44 +01:00
Marco Huenseler
ee04ae08ae Fix #1: Test for LDAPInvalidCredentialsResult 2017-12-03 20:33:05 +01:00
Marco Huenseler
3867236b2c update tests to unittest library 2017-12-03 20:24:43 +01:00
Marco Huenseler
063f3a42d2 add simple integration test 2017-08-04 18:54:20 +02:00
Marco Huenseler
0f094e7859 Add gitignore 2017-08-04 18:54:02 +02:00
Marco Huenseler
e8586e954e Fix #2: Import escape_attribute_value from upstream 2017-08-04 18:12:38 +02:00
Marco Huenseler
be8162e66a Fix #1: Add specific version requirements for ldap3 2017-08-04 17:51:11 +02:00
Marco Huenseler
d708583ed3 Fix #1: LDAPInvalidCredentialsResult reference 2017-08-04 17:45:29 +02:00
Marco Huenseler
32a4c7c9e3 Add README 2017-06-25 15:38:41 +02:00
Marco Huenseler
cc32d985f5 initial commit, just some small syntax sugar for Raoul Thill's LDAP plugin 2017-06-25 14:29:43 +02:00