#============================================================================== # LemonLDAP::NG local configuration parameters # # This file is dedicated to configuration parameters override # You can set here configuration parameters that will be used only by # local LemonLDAP::NG elements # # Section "all" is always read first before "portal", "handler" # and "manager" # # Section "configuration" is used to load global configuration and set cache # (replace old storage.conf file) # # Section "apply" is read by Manager to reload handlers # (replace old apply.conf file) # # Other section are only read by the specific LemonLDAP::NG component #============================================================================== [all] ;cda = 1 [configuration] # GLOBAL CONFIGURATION ACCESS TYPE # (File, SOAP, DBI, LDAP) # Set here the parameters needed to access to Lemonldap::NG configuration. # You have to set "type" to one of the followings : # # * File: you have to set 'dirName' parameter. Example: # # type = File # dirName = /var/lib/lemonldap-ng/conf # # * DBI : you have to set 'dbiChain' (required) and 'dbiUser' and 'dbiPassword' # if needed. Example: # # type = DBI # dbiChain = DBI:mysql:database=lemonldap-ng;host=1.2.3.4 # dbiUser = lemonldap # dbiPassword = password # # * SOAP: SOAP configuration access is a sort of proxy: the portal is # configured to use the real session storage type (DBI or File for # example). # You have to set 'proxy' parameter. Example: # # type = SOAP # proxy = https://auth.example.com/index.pl/config # proxyOptions = { timeout => 5 } # User = lemonldap # Password = mypassword # # * LDAP: you have to set ldapServer, ldapConfBranch, ldapBindDN and ldapBindPassword. # # type = LDAP # ldapServer = ldap://localhost # ldapConfBase = ou=conf,ou=applications,dc=example,dc=com # ldapBindDN = cn=manager,dc=example,dc=com # ldapBindPassword = secret type = File dirName = /var/lib/lemonldap-ng/conf # LOCAL CACHE CONFIGURATION # # To increase performances, use a local cache for the configuration. You have # to choose a Cache::Cache module and set it's parameters (1 line). Example: # # localStorage = Cache::FileCache # localStorageOptions = { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'directory_umask' => '007', 'cache_root' => '/tmp', 'cache_depth' => 5, } localStorage = Cache::FileCache localStorageOptions = { 'namespace' => 'MyNamespace', 'default_expires_in' => 600, 'directory_umask' => '007', 'cache_root' => '/tmp', 'cache_depth' => 5, } [portal] portalDisplayResetPassword = 0 [handler] https = 0 [manager] ;protection = authenticate [apply] test1.__DNSDOMAIN__ = http://test1.__DNSDOMAIN__/reload