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.
By libregeek
#260
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
User avatar
By RussH
#338
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?
By swalk
#348
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.

Discover Women Seeking Casual Encounters Tonight […]

Discover Women Looking for Spontaneous Nights Out[…]

okay - strange as disk is cheap! However if you wa[…]

Can anyone assist me? Much appreciated.