This commit is contained in:
Xavier Guimard 2016-02-06 18:41:26 +00:00
parent 9097135ecd
commit e553470046
3 changed files with 155 additions and 1 deletions

View File

@ -1,5 +1,7 @@
/etc/lemonldap-ng/lemonldap-ng.ini
/etc/lemonldap-ng/for_etc_hosts
/usr/share/man/man1/convertConfig
/usr/share/man/man1/lemonldap-ng-cli
/usr/share/man/man3/Lemonldap::NG::Common*
/usr/share/perl5/auto/Lemonldap/NG/Common
/usr/share/perl5/Lemonldap/NG/Common*

View File

@ -88,5 +88,76 @@ foreach (@available) {
next if ( $opts{force} );
exit 7;
}
exit 0;
__END__
=head1 NAME
=encoding utf8
convertConfig - tool used to change Lemonldap::NG configuration database.
=head1 SYNOPSIS
convertConfig --current=/current/lemonldap-ng.ini --new=/new/lemonldap-ng.ini
# Convert only latest (loose history)
convertConfig --latest --current=... --new=...
# Continue even if an error occurs
convertConfig --force -f --current=... --new=...
=head1 DESCRIPTION
convertConfig is a command line toot that can be used to do initialize a new
Lemonldap::NG configuration database keeping current configuration and history.
=head1 SEE ALSO
L<http://lemonldap-ng.org/>
=head1 AUTHORS
=over
=item Clement Oudot, E<lt>clem.oudot@gmail.comE<gt>
=item Xavier Guimard, E<lt>x.guimard@free.frE<gt>
=back
=head1 BUG REPORT
Use OW2 system to report bug or ask for features:
L<http://jira.ow2.org>
=head1 DOWNLOAD
Lemonldap::NG is available at
L<http://forge.objectweb.org/project/showfiles.php?group_id=274>
=head1 COPYRIGHT AND LICENSE
=over
=item Copyright (C) 2008-2016 by Xavier Guimard, E<lt>x.guimard@free.frE<gt>
=item Copyright (C) 2008-2016 by Clément Oudot, E<lt>clem.oudot@gmail.comE<gt>
=back
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 L<http://www.gnu.org/licenses/>.
=cut

View File

@ -43,4 +43,85 @@ Available actions:
See Lemonldap::NG::Common::Cli(3) or Lemonldap::NG::Manager::CLi(3) for more
};
}
__END__
=head1 NAME
=encoding utf8
lemonldap-ng-cli - Command-line manager for Lemonldap::NG web-SSO system.
=head1 SYNOPSIS
# Get information about current configuration
$ lemonldap-ng-cli info
# Update local configuration cache
$ lemonldap-ng-cli update-cache
# Get some configuration parameter values
$ 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'
=head1 DESCRIPTION
lemonldap-ng-cli is a command line client that can be used to do some actions
on Lemonldap::NG configuration. Commands are detailled in
L<Lemonldap::NG::Manager::Cli> and L<Lemonldap::NG::Common::CLi>
=head1 SEE ALSO
L<Lemonldap::NG::Manager::Cli>, L<Lemonldap::NG::Common::CLi>
L<http://lemonldap-ng.org/>
=head1 AUTHORS
=over
=item David Coutateur, E<lt>david.jose.delassus@gmail.comE<gt>
=item Clement Oudot, E<lt>clem.oudot@gmail.comE<gt>
=item Xavier Guimard, E<lt>x.guimard@free.frE<gt>
=back
=head1 BUG REPORT
Use OW2 system to report bug or ask for features:
L<http://jira.ow2.org>
=head1 DOWNLOAD
Lemonldap::NG is available at
L<http://forge.objectweb.org/project/showfiles.php?group_id=274>
=head1 COPYRIGHT AND LICENSE
=over
=item Copyright (C) 2016 by Xavier Guimard, E<lt>x.guimard@free.frE<gt>
=item Copyright (C) 2016 by Clément Oudot, E<lt>clem.oudot@gmail.comE<gt>
=back
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 L<http://www.gnu.org/licenses/>.
=cut