30 Jun
2015
30 Jun
'15
3:50 p.m.
Michael Ströder wrote:
Arran Cudbard-Bell wrote:
OK, should work now.
These cases both work:
server = 'ldap://localhost:1390' server = 'localhost:1390'
This does not work: server = 'ldapi://%2Ftmp%2Fopenldap-socket'
=> "Failed recombining URL components"
And this fails too: server = 'ldapi://' rlm_ldap (ldap): Bind with uid=radiusd,ou=sys,dc=stroeder,dc=local to ldapi://:389 failed: Can't contact LDAP server ^^^^^ As said you should not do any recombination and pass the string as is to libldap. This would save you a lot of headache. Ciao, Michael. (author of python-ldap's module ldapurl)