define( 'YOURLS_DEBUG', false );
define( 'YOURLS_URL_CONVERT', 36 );
$yourls_reserved_URL = array();
- define( 'LDAPAUTH_HOST', 'ldaps://ldap.immae.eu' );
+ define( 'LDAPAUTH_HOST', 'ldaps://${env.ldap.host}' );
define( 'LDAPAUTH_PORT', '636' );
- define( 'LDAPAUTH_BASE', 'dc=immae,dc=eu' );
- define( 'LDAPAUTH_SEARCH_USER', 'cn=yourls,ou=services,dc=immae,dc=eu' );
+ define( 'LDAPAUTH_BASE', '${env.ldap.base}' );
+ define( 'LDAPAUTH_SEARCH_USER', '${env.ldap.dn}' );
define( 'LDAPAUTH_SEARCH_PASS', '${env.ldap.password}' );
define( 'LDAPAUTH_GROUP_ATTR', 'memberof' );