+2001-06-29 Ezra Peisach <epeisach@mit.edu>
+
+ * misc.c, server_stubs.c: Nuke rcsid.
+
+ * misc.h: Add prototypes for kadm_1 and process_chpw_request.
+
+ * ovsec_kadmd.c: Include misc.h and remove prototype for
+ process_chpw_request and kadm_1.
+
+ * kadm_rpc_svc.c, schpw.c: Include misc.h for prototypes.
+
2001-06-26 Ezra Peisach <epeisach@mit.edu>
* server_glue_v1.c: Include misc.h for prototypes.
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
*
- * $Id$
- *
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <stdio.h>
#include <gssrpc/rpc.h>
#include <syslog.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
+#include "misc.h"
/*
* Function: kadm_1
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
*
- * $Header$
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <kadm5/adb.h>
#include <kadm5/server_internal.h>
#include <krb5/kdb.h>
/*
* Copyright 1994 OpenVision Technologies, Inc., All Rights Reserved
*
- * $Header$
- *
- * $Log$
- * Revision 1.6 1996/07/22 20:28:56 marc
- * this commit includes all the changes on the OV_9510_INTEGRATION and
- * OV_MERGE branches. This includes, but is not limited to, the new openvision
- * admin system, and major changes to gssapi to add functionality, and bring
- * the implementation in line with rfc1964. before committing, the
- * code was built and tested for netbsd and solaris.
- *
- * Revision 1.5.4.1 1996/07/18 03:03:40 marc
- * merged in changes from OV_9510_BP to OV_9510_FINAL1
- *
- * Revision 1.5.2.1 1996/06/20 21:57:20 marc
- * File added to the repository on a branch
- *
- * Revision 1.5 1996/05/30 21:13:24 bjaspan
- * kadm5_get_principal_v1 takes a kadm5_principal_ent_t_v1
- * add kadm5_get_policy_v1
- *
- * Revision 1.4 1996/05/20 21:39:05 bjaspan
- * rename to kadm5
- * add kadm5_get_principal_v1
- *
- * Revision 1.3 1994/09/13 18:24:41 jik
- * Back out randkey changes.
- *
- * Revision 1.2 1994/09/12 20:26:12 jik
- * randkey_principal_wrapper now takes a new_kvno option.
- *
- * Revision 1.1 1994/08/11 17:00:44 jik
- * Initial revision
- *
*/
kadm5_ret_t chpass_principal_wrapper(void *server_handle,
kadm5_ret_t kadm5_get_policy_v1(void *server_handle, kadm5_policy_t name,
kadm5_policy_ent_t *ent);
+
+
+krb5_error_code process_chpw_request(krb5_context context,
+ void *server_handle,
+ char *realm, int s,
+ krb5_keytab keytab,
+ struct sockaddr_in *sockin,
+ krb5_data *req, krb5_data *rep);
+
+#ifdef __SVC_HEADER__
+void kadm_1(struct svc_req *, SVCXPRT *);
+#endif
#include <krb5/adm_proto.h>
#include <string.h>
+#include "misc.h"
+
#ifdef PURIFY
#include "purify.h"
int schpw;
void do_schpw(int s, kadm5_config_params *params);
-krb5_error_code process_chpw_request(krb5_context context, void *server_handle,
- char *realm, int s, krb5_keytab keytab,
- struct sockaddr_in *sockin,
- krb5_data *req, krb5_data *rep);
/*
* Function: usage
int main(int argc, char *argv[])
{
- void kadm_1(struct svc_req *, SVCXPRT *);
register SVCXPRT *transp;
extern char *optarg;
extern int optind, opterr;
#include <stdio.h>
#include <errno.h>
+#include "misc.h"
+
krb5_error_code
process_chpw_request(context, server_handle, realm, s, keytab, sockin,
req, rep)
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
*
- * $Header$
*/
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_krb5.h> /* for gss_nt_krb5_name */
#include <krb5.h>