Skip to content

How to configure LDAP connection

ratibus edited this page Mar 12, 2012 · 3 revisions

Crew can be configured to use your LDAP server to authenticate users. It can also create automatically new users when their LDAP credentials are valid.

These are the configuration directives for LDAP (you can set the values using the crew:config symfony task) :

  • ldap_enabled : indicates whether LDAP is enabled or not for Crew
  • value : 0 or 1
  • ldap_create_user : if enabled, when a user does not yet exist in Crew database, if its credentials are valid, the user is automatically created (we do not store his password in Crew)
  • value : 0 or 1
  • ldap_host : LDAP server netword address
  • value : string
  • ldap_version : LDAP version support (for example: 3)
  • value : string
  • ldap_rdn_format : domain name of users (for example if your users are in user@crew.net format, expected value is %s@crew.net)
  • value : RDN format, as a C format string