kadmin_rmt.c revision d51f1d338914fe15108ef3fb04d422a459cfdeda
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Contains remote client specific code.
*/
#include <stdio.h>
#include <stdlib.h>
#include <libintl.h>
#include <krb5.h>
#include <k5-int.h>
extern void *handle;
void
{
"%s: %s [-r realm] [-p principal] [-q query] "
"[-s admin_server[:port]] [[-c ccache]|[-k [-t keytab]]"
"|[-w password]]\n",
exit(1);
}
/*
* Debugging function - for remote admin client
*/
/* ARGSUSED */
void
debugEnable(int displayMsgs)
{
#ifdef DEBUG
#endif
}
int argc;
char *argv[];
{
int i;
long plist;
if (argc != 1) {
return;
}
if (retval) {
gettext("while retrieving privileges"));
return;
}
for (i = 0; i < sizeof (privs) / sizeof (char *); i++) {
if (plist & 1 << i)
}
printf("\n");
return;
}