Skip to content

Documentation for LDAP

rlbaltha edited this page Oct 6, 2014 · 17 revisions

Marca is using the https://github.com/Maks3w/FR3DLdapBundle for LDAP authentication

To use the LDAP authenticate, you will need to update parameters.yml and security.yml

security.yml

See https://github.com/Maks3w/FR3DLdapBundle/blob/2.0.x/Resources/doc/index.md#5-enable-fosuserbundle-as-user-provider

parameters.yml

Set ldap to yes and set ldap_host, ldap_port, and ldap_email_host

The authenication will be "chained" which means that if the ldap auth fails it will roll over to the fosuserbundle for authentication.

fr3d_ldap bundle requires the php ext-ldap:

(on RedHat)

sudo yum install php-ldap

(on Ubuntu/Debian)

sudo apt-get install php5-ldap