You can share your configuration over the network using REST proxy system:
You can retrieve “human readable” error messages:
If no <lang> provided, ‘en’ errors file is returned.
Tip
Note that REST is not a real configuration backend, but just a proxy system to access to your configuration over the network
* In portal-apache2.conf
:
# REST functions for configuration access (disabled by default)
<Location /index.fcgi/config>
Require ip 192.168.2.0/24
</Location>
* In portal-nginx.conf
:
# REST functions for configuration access (disabled by default)
location /index.psgi/config {
allow 192.168.2.0/24;
}
Change configuration in lemonldap-ng.ini :
type = REST
; Apache
baseUrl = https://auth.example.com/index.fcgi/config
; Nginx
baseUrl = https://auth.example.com/index.psgi/config
You can also add some other parameters
User = lemonldap
Password = mypassword
# LWP::UserAgent parameters
proxyOptions = { timeout => 5 }
User and Password parameters are only used if the entry point index.fcgi/config is protected by a basic authentication. Thus, handlers will make requests to the portal using these parameters.