Unable to add rule or header in a vhost using lemonldap-ng-cli
The command lemonldap-ng-cli can be used to get/set parameters in LL::NG conf: http://lemonldap-ng.org/documentation/latest/configlocation#command_line_interface_cli
I can almost set anything except values in complex keys like locationRules and exportedHeaders. In this case, the first level of keys is the name of the vhost and the value is a HASH of rules or headers.
No problem to use get:
root@ader-sfl:~# /usr/share/lemonldap-ng/bin/lemonldap-ng-cli get exportedHeaders/test1.example.com/Auth-User
exportedHeaders/test1.example.com/Auth-User = $uid
{code}
But the set is not working:
{code}
root@ader-sfl:~# /usr/share/lemonldap-ng/bin/lemonldap-ng-cli addKey exportedHeaders/test1.example.com Auth-Name '$cn'
VERY EXPERIMENTAL FEATURE, prefer web interface
exportedHeaders/test1.example.com is not a simple hash. Aborting