CATS LDAP authentication module

have you installed CATS? Proud of your customizations and want to share it? Post here and wait for the praise...
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.

CATS LDAP authentication module

Postby 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
libregeek
 
Posts: 5
Joined: 04 Jun 2008, 05:52

Re: CATS LDAP authentication module

Postby 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
User avatar
RussH
Site Admin
 
Posts: 307
Joined: 12 Apr 2008, 08:28
Location: UK

Re: CATS LDAP authentication module

Postby 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.
swalk
 
Posts: 1
Joined: 14 Jul 2008, 21:55

Re: CATS LDAP authentication module

Postby 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: 5
Joined: 04 Jun 2008, 05:52

Re: CATS LDAP authentication module

Postby 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 36 times
Manilal K M
Ejyothi Services
Kochi, Kerala, India.
http://www.ejyothi.com
http://libregeek.blogspot.com
libregeek
 
Posts: 5
Joined: 04 Jun 2008, 05:52


Return to Pimp your CATS!

Who is online

Users browsing this forum: No registered users and 1 guest

cron