lemonldap-ng-cli - Command-line manager for Lemonldap::NG web-SSO system.
Get information about current configuration
$ lemonldap-ng-cli info
Update local configuration cache
$ lemonldap-ng-cli update-cache
Send a test email
$ lemonldap-ng-cli test-email dwho@badwolf.org
Save configuration
$ lemonldap-ng-cli save >conf.json $ lemonldap-ng-cli -cfgNum 19 save >conf-19.json
Restore configuration
$ lemonldap-ng-cli restore conf.json # OR $ lemonldap-ng-cli restore - <conf.json
Cancel the last configuration change
$ lemonldap-ng-cli rollback
Get a configuration parameter value
$ lemonldap-ng-cli get portal domain cookieName
Set some values
$ lemonldap-ng-cli set portal http://auth.e.com/ domain e.com # add or set a key $ lemonldap-ng-cli addKey macro fullname '$givenName." ".$lastName' # without changing the version number $ lemonldap-ng-cli -force 1 -cfgNum 1 set portal http://auth.e.com/ domain e.com # without asking for confirmation $ lemonldap-ng-cli -yes 1 set portal http://auth.e.com/ domain e.com
lemonldap-ng-cli is a command line interface to interact with Lemonldap::NG configuration. Commands are described in Lemonldap::NG::Manager::Cli and Lemonldap::NG::Common::Cli
Confirm modification automatically (default: 0)
Allows you to set the log message that will be displayed in the manager
The configuration change will be aborted if it contains errors (default: 0)
Allows you to force overwriting an existing configuration (default: 0)
Choose a particular configuration number (default: latest)
Allows you to define hierarchical separator
Allows you to set an alternative ini file
Lemonldap::NG::Manager::Cli, Lemonldap::NG::Common::Cli http://lemonldap-ng.org/
Use OW2 system to report bug or ask for features: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues
Lemonldap::NG is available at https://release.ow2.org/lemonldap/
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
To install Lemonldap::NG::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::NG::Common
CPAN shell
perl -MCPAN -e shell install Lemonldap::NG::Common
For more information on module installation, please visit the detailed CPAN module installation guide.