[Vtigercrm-developers] vtiger + LDAP/Active Directory

Nicolas Larcipretti niclarcipretti at gmail.com
Tue Sep 20 05:11:02 PDT 2011


Guys, I've managed to use LDAP with the 5.2.1 version. I just added in the
config.inc.php this conf:

$AUTHCFG['authType'] = 'LDAP';

Then I created a file inside the Users module named
vtigerCRM/modules/Users/authTypes/LDAP.php with a function called
ldapAuthenticate($user, $password). This function returns true or false, and
Vtiger's uses this return to login or not the user. So, you can make this
function validate the user and password with your LDAP, or apply any other
login rule and return true or false if the login is valid or not. Once you
return false, Vtiger will automatically return to the login page with the
invalid user message.

Isn't this a good solution to LDAP authentication?

Cheers

Nicolas

2011/9/20 Alan Lord (News) <alanslists at gmail.com>

> On 23/09/10 06:56, Vikas Jain wrote:
> > Hi Alan,
> >
> > We have done some work on this and will be updating the community with
> > the patch soon. We though have not handled searching users in the tree
> > but will look into Carlo's patch and see if we can add it to ours.
>
> Hi guys,
>
> What happened with this? I'd be really interested if there has been any
> further work on AD/LDAP support on vtiger CRM.
>
> Cheers
>
> Al
>
> --
> The Open Learning Centre
> http://www.theopenlearningcentre.com
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110920/b89b8101/attachment-0002.html 


More information about the vtigercrm-developers mailing list