NAME
lemonldap-ng-cli - Command-line manager for Lemonldap::NG web-SSO system.
SYNOPSIS
Get information about current configuration
$ lemonldap-ng-cli info
Update local configuration cache
$ lemonldap-ng-cli update-cache
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
DESCRIPTION
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
Available commands
Available options
- -yes
-
Confirm modification automatically (default: 0)
- -log
-
Allows you to set the log message that will be displayed in the manager
- -safe
-
The configuration change will be aborted if it contains errors (default: 0)
- -cfgNum
-
Choose a particular configuration number (default: latest)
- -force
-
Allows you to force overwriting an existing configuration (default: 0)
SEE ALSO
Lemonldap::NG::Manager::Cli, Lemonldap::NG::Common::Cli http://lemonldap-ng.org/
AUTHORS
- David Coutateur, <david.jose.delassus@gmail.com>
- Clement Oudot, <clem.oudot@gmail.com>
- Xavier Guimard, <x.guimard@free.fr>
BUG REPORT
Use OW2 system to report bug or ask for features: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues
DOWNLOAD
Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274
COPYRIGHT AND LICENSE
- Copyright (C) 2016 by Xavier Guimard, <x.guimard@free.fr>
- Copyright (C) 2016 by Clément Oudot, <clem.oudot@gmail.com>
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/.