tty_kpasswd.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
*
* Openvision retains the copyright to derivative works of
* this source code. Do *NOT* create a derivative of this
* source code before consulting with your legal department.
* Do *NOT* integrate *ANY* of this source code into another
* product before consulting with your legal department.
*
* For further information, read the top-level Openvision
* copyright which is contained in the top-level MIT Kerberos
* copyright.
*
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
*
*/
/*
* Copyright 1993-1994 OpenVision Technologies, Inc., All Rights Reserved.
*
* 1997/02/20 06:13:01 probe Exp $
*
*
*/
static char rcsid[] = "$Id: tty_kpasswd.c,v 1.7 "
"1997/02/20 06:13:01 probe Exp $";
#include <krb5.h>
#include "kpasswd_strings.h"
#define string_text error_message
#include <stdio.h>
#include <pwd.h>
#include <string.h>
#include <libintl.h>
#include <locale.h>
char *whoami;
void
char *fmt_string;
char *arg_string;
{
}
long
char *password;
unsigned int *pwsize;
{
(char *) string_text(KPW_STR_OLD_PASSWORD_PROMPT),
return (code);
}
long
void *server_handle;
char *password;
int *pwsize;
char *msg_ret;
int msg_len;
{
NULL /* don't need new pw back */,
}
/*
* main() for tty version of kpasswd.c
*/
int
int argc;
char *argv[];
{
int retval;
#if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */
#endif
(void) textdomain(TEXT_DOMAIN);
}
/* initialize_kpws_error_table(); SUNWresync121 */
if (!retval)
}