Page 1 of 1

CATS LDAP authentication module

Posted: 04 Jun 2008, 06:05
by libregeek
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

Re: CATS LDAP authentication module

Posted: 09 Jul 2008, 17:34
by RussH
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?

Re: CATS LDAP authentication module

Posted: 14 Jul 2008, 21:58
by swalk
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.

Re: CATS LDAP authentication module

Posted: 15 Jul 2008, 06:24
by libregeek
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

Re: CATS LDAP authentication module

Posted: 15 Jul 2008, 06:49
by libregeek
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.

Re: CATS LDAP authentication module

Posted: 02 Sep 2011, 22:23
by light1
Has anyone gotten this to work in AD?