* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Generate (from scratch) a Kerberos KDC database.
*/
#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/kdb_dbm.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
-#include <krb5/isode_err.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/asn1.h>
#include <krb5/config.h>
#include <com_err.h>
-#include <errno.h>
+#include <stdio.h>
+
#include <krb5/ext-proto.h>
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* kdb_dest(roy): destroy the named database.
*
#include <stdio.h>
#include <com_err.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
-#include <krb5/isode_err.h>
-
#include <krb5/ext-proto.h>
-#include <sys/file.h> /* for unlink() */
-
-#include <sys/param.h> /* XXX for MAXPATHLEN */
+#include <krb5/sysincl.h> /* for MAXPATHLEN */
extern int errno;
#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/kdb_dbm.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
-#include <krb5/isode_err.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/asn1.h>
#include <krb5/config.h>
-#include <sys/param.h> /* XXX for MAXPATHLEN */
+#include <krb5/sysincl.h> /* for MAXPATHLEN */
+#include <krb5/ext-proto.h>
#include <com_err.h>
#include <ss/ss.h>
-#include <errno.h>
+#include <stdio.h>
-#include <krb5/ext-proto.h>
#define REALM_SEP '@'
#define REALM_SEP_STR "@"
char *argv[];
{
krb5_error_code retval;
- krb5_keyblock *tempkey;
krb5_principal newprinc;
char yesno[80];
int one = 1;
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Store the master database key in a file.
*/
#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/kdb_dbm.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
-#include <krb5/isode_err.h>
-
-#include <com_err.h>
-
-#include <stdio.h>
#include <krb5/ext-proto.h>
#include <krb5/libos-proto.h>
+#include <krb5/sysincl.h>
-#include <sys/file.h> /* for unlink() */
+#include <com_err.h>
+#include <stdio.h>
extern int errno;
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
+#include <stdio.h>
#include <ctype.h>
#include <com_err.h>
+
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
-#include <errno.h>
-
#include <ctype.h>
#include <com_err.h>
#include <sys/types.h>
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Destroy the contents of your credential cache.
*/
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/ext-proto.h>
#include <com_err.h>
int code;
int errflg=0;
- initialize_krb5_error_table();
- initialize_isod_error_table();
+ krb5_init_ets();
if (rindex(argv[0], '/'))
argv[0] = rindex(argv[0], '/')+1;
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* List out the contents of your credential cache.
*/
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/isode_err.h>
#include <krb5/ext-proto.h>
#include <com_err.h>
-#include <errno.h>
extern int optind;
extern char *optarg;