Commit Graph

7 Commits

Author SHA1 Message Date
holczer
a3b2e41864 corrected multi ldap server handling 2020-06-16 16:53:20 +02:00
holczer
b71adb30ec multiple ldap servers can be defined in ldap_url 2020-06-15 16:13:37 +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
Naomi Nitel
a7ed464d23 Calling .bind() is required even when doing an anonymous bind. 2018-02-07 11:17:44 +01:00
Marco Huenseler
e8586e954e Fix #2: Import escape_attribute_value from upstream 2017-08-04 18:12:38 +02:00
Marco Huenseler
d708583ed3 Fix #1: LDAPInvalidCredentialsResult reference 2017-08-04 17:45:29 +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