CATS LDAP authentication module

have you installed OpenCATS? Proud of your customizations and want to share it? Post here and wait for the praise...

Moderators: RussH, cptr13

Forum rules
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but keep your comments directed to the topic at hand - not at the commenter.
Post Reply
libregeek
Posts: 7
Joined: 04 Jun 2008, 05:52
what is two(2) plus three(3) ?: 20
Contact:

CATS LDAP authentication module

Post by libregeek » 04 Jun 2008, 06:05

Hello all,
I have customized a LDAP authentication module for CATS. However it's not complete and many improvements can be done. Even though it's developed for cats-0.5.5 it works fine with the 0.9 also. you can download the patches and files from here:

http://sarovar.org/frs/shownotes.php?release_id=736

The user list is still maintained in the mysql table, but the authentication request will be directed to the ldap database. To create the user first you
have to add the user to LDAP and then to the MySQL database (through Settings in CATS).

Please read the README before using the plugin.

NOTE: I've transcribed this over to the wiki at http://opencats.org/wiki/index.php?titl ... ion_module
Manilal K M
Ejyothi Services
Kochi, Kerala, India.
http://www.ejyothi.com
http://libregeek.blogspot.com

User avatar
RussH
Site Admin
Posts: 802
Joined: 12 Apr 2008, 08:28
what is two(2) plus three(3) ?: 5
Location: UK
Contact:

Re: CATS LDAP authentication module

Post by RussH » 09 Jul 2008, 17:34

libregeek wrote:Hello all,
I have customized a LDAP authentication module for CATS. However it's not complete and many improvements can be done. Even though it's developed for cats-0.5.5 it works fine with the 0.9 also. you can download the patches and files from here:

http://sarovar.org/frs/shownotes.php?release_id=736

The user list is still maintained in the mysql table, but the authentication request will be directed to the ldap database. To create the user first you
have to add the user to LDAP and then to the MySQL database (through Settings in CATS).

Please read the README before using the plugin.
Hi Libregeek,

have you tested this further with Cats 0.9.x? is it stable?
RussH

Report your issues and feature requests;
https://github.com/opencats/opencats/issues

Please CLICK THE TICK to accept the answer!

swalk
Posts: 1
Joined: 14 Jul 2008, 21:55

Re: CATS LDAP authentication module

Post by swalk » 14 Jul 2008, 21:58

Thanks for this module but I'm having problems getting it working with Active Directory.

This is what I currently have:

Code: Select all

define ('AUTH_MODE', 'ldap'); // Currently supports ldap, sql
define ('LDAP_HOST', 'ldap_server');
define ('LDAP_PORT', '389');
define ('LDAP_BASEDN', 'ou=users,ou=company,dc=local,dc=domain');
define ('LDAP_UID', 'sAMAccountName');
define ('LDAP_CONNECT_DN', 'uid=test,ou=users,ou=company,dc=local,dc=domain');
define ('LDAP_PASSWORD', 'test123');
Does this look correct? For LDAP_CONNECT_DN I tried sAMAccountName=test and uid=test and neither work.

libregeek
Posts: 7
Joined: 04 Jun 2008, 05:52
what is two(2) plus three(3) ?: 20
Contact:

Re: CATS LDAP authentication module

Post by libregeek » 15 Jul 2008, 06:24

Hello,
Sorry, I didn't tested the plugin in ActiveDirectory. However, it works fine with OpenLDAP and cats-0.5.5. I think some sort of tweaking needs to be done to get it working with cats-0.9. I can also provide the latest patch. Please give me some time :).

regards
Manilal K M
Ejyothi Services
Kochi, Kerala, India.
http://www.ejyothi.com
http://libregeek.blogspot.com

libregeek
Posts: 7
Joined: 04 Jun 2008, 05:52
what is two(2) plus three(3) ?: 20
Contact:

Re: CATS LDAP authentication module

Post by libregeek » 15 Jul 2008, 06:49

Here is the unified patch of the LDAP Authentication plugin for CATS-0.9.1. I have to change the extension to *.gz since *.patch is not accepted here.
Attachments
cats-ldap-0.9.1.patch.gz
Patch for LDAP authentication plugin.
(3.67 KiB) Downloaded 454 times
Manilal K M
Ejyothi Services
Kochi, Kerala, India.
http://www.ejyothi.com
http://libregeek.blogspot.com

light1
Posts: 1
Joined: 02 Sep 2011, 21:55
what is two(2) plus three(3) ?: 5

Re: CATS LDAP authentication module

Post by light1 » 02 Sep 2011, 22:23

Has anyone gotten this to work in AD?

Post Reply