The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

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

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

info
update-cache
test-email
save
restore
get
set
addKey
delKey

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)

-force

Allows you to force overwriting an existing configuration (default: 0)

-cfgNum

Choose a particular configuration number (default: latest)

-sep

Allows you to define hierarchical separator

-iniFile

Allows you to set an alternative ini file

SEE ALSO

Lemonldap::NG::Manager::Cli, Lemonldap::NG::Common::Cli http://lemonldap-ng.org/

AUTHORS

Clement Oudot, <clement@oodo.net>
Xavier Guimard, <yadd@debian.org>
Maxime Besson, <maxime.besson@worteks.com>
Christophe Maudoux, <chrmdx@gmail.com>

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 https://release.ow2.org/lemonldap/

COPYRIGHT AND LICENSE

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/.