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

Remove Net::LDAP2 dependency #12

Closed hydrian closed 8 years ago

hydrian commented 10 years ago

Since Net::LDAP2 is being deprecated and is no longer being maintained this plugin needs to implement a new way to do access an LDAP server.

1of16 commented 10 years ago

what about php-ldap: php.net/manual/en/book.ldap.php you wont need an extra plugin...

hydrian commented 10 years ago

I could but I really hate dealing with that interface. It is very picky about LDAP servers. If I had though that PHP's native LDAP implementation had been half way decent, I would have never looked up NET::LDAP2. Net::LDAP2 does a lot of the compatibility BS for you. It also provides some really handy functions that are not apart of the native LDAP bindings.

I will use the native PHP if I absolutely have to. I'd rather not. I'll see if there is another wrapper for PHP LDAP. If not, I use the native API... begrudgingly.

chyuaner commented 9 years ago

I use in Ubuntu Server 14.04.2 LTS. I installed php5-ldap package. But not work too.

Imgur http://imgur.com/7Gf8Xx5

hydrian commented 9 years ago

You also need the php-net-ldap2 package.

chyuaner commented 9 years ago

I solved this problem. I use 'pear' to install Net_LDAP2. After it work. https://pear.php.net/package/Net_LDAP2/ Thank you! :)

nebulade commented 9 years ago

I can confirm, the php-net-ldap2 package seems to be outdated and wont work with this project anymore

tsmgeek commented 9 years ago

I have migrated to native PHP LDAP library, #14 fixes this and works on my system.

hydrian commented 8 years ago

Closing with commit a7f7a5a82d9202a5c40d606a5c519ba61b224eb8 which removed the Net-LDAP2 dependency.