hydrian / TTRSS-Auth-LDAP

GitHub repository for Tiny Tiny RSS's auth_ldap plugin
https://github.com/hydrian/TTRSS-Auth-LDAP/wiki
Other
28 stars 21 forks source link

connect fails due to provided schema ldap:// #13

Closed nebulade closed 7 years ago

nebulade commented 9 years ago

The connection to the ldap server fails early on due to 'host' => 'ldap://<ip>' if I remove the schema prepending on https://github.com/hydrian/TTRSS-Auth-LDAP/blob/master/plugins/auth_ldap/init.php#L240 it works just fine. I can't test this with TLS though.

Not sure if this is some change in the net_ldap2 module.

Package   Stable/(Latest) Local
Net_LDAP2 2.1.0 (stable)  2.1.0 Object oriented interface for searching and manipulating LDAP-entries
hydrian commented 9 years ago

What version of TTRSS are you using ?

nebulade commented 9 years ago

I am using TTRSS v1.15.3 with this plugin at b5a990c22466f308a68a65347129899e665f8a94

hydrian commented 9 years ago

I current working with php-net-ldap2-2.0.12. I'll upgrade to 2.1.0 to see if that is the issue. Sounds like an something changed in 2.1.0.

tsmgeek commented 8 years ago

My fork may help you in this if not sorted. https://github.com/tsmgeek/ttrss-auth-LDAP

hydrian commented 8 years ago

@nebulade Try using the 2.0b1 release. It has the Net-LDAP2 requirement removed.

hydrian commented 7 years ago

@nebulade Did using the 2.0b1 release fix you issue?

nebulade commented 7 years ago

This issue is quite old and is fixed by now, sorry for not closing it earlier.