#!/bin/bash
# cz-node-info - return information about a debian host
#
# Copyright 2026 CZ Software - All rights reserved.
# Author: Bill MacAllister <bill@ca-zephyr.org>

if [ "$1" = "" ]
then
    /usr/bin/cz-node-ldap --help
fi

/usr/bin/k5start -f /etc/krb5.keytab -U -- /usr/bin/cz-node-ldap $*

exit

DOCS=<<__END_OF_DOCS__

=head1 NAME

remctl-apt-full-upgrade - wrapper for apt full-upgrade

=head1 SYNOPSIS

cz-node-ldap-remctl

=head1 DESCRIPTION

This is a wrapper script for cz-node-ldap that obtains Kerberos
credentials before invoking the script.

=head1 AUTHOR

Bill MacAllister <bill@ca-zephyr.org>

=head1 COPYRIGHT

Copyright (C) 2021 Dropbox Inc.

This code is free software; you can redistribute it and/or modify it
under the same terms as Perl. For more details, see the full text of the
at https://opensource.org/licenses/Artistic-2.0.

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.

=cut

__END_OF_DOCS__
