* admin_server, and is a server for the userreg program.
*
* $Log$
- * Revision 1.11 1988-08-02 01:41:38 qjb
- * Yet another almost finished version. Ready for attack of kerberos problems
- * and testing.
+ * Revision 1.12 1988-08-02 16:44:58 qjb
+ * same
*
+ * Revision 1.11 88/08/02 01:41:38 qjb
+ * Yet another almost finished version. Ready for attack of kerberos problems
+ * and testing.
+ *
* Revision 1.10 88/08/01 18:17:58 qjb
* Almost finished version supporting new SMS protocol.
* Kerberos problems.
#define UID_LEN 7 /* Allow room for a 16 bit number */
#define DEBUG
+/* This MUST be correct! There isn't a good way of getting this without
+ hardcoding that would not make testing impractical. */
+#define KRB_HOST "dodo"
extern char *strdup();
extern char *malloc();
}
}
+/* This is necessary so that this server can know where to put its
+ tickets. */
+char *tkt_string()
+{
+ return("/tmp/tkt_ureg");
+}
+
void format_pkt(packet, pktlenp, seqno, status, message)
char *packet;
int *pktlenp;
if (status == SUCCESS)
/* principal, instance, realm, service, service instance, life, file */
if (status = get_svc_in_tkt("register", "sms", realm, "changepw",
- "kerberos", 1, KEYFILE))
+ KRB_HOST, 1, KEYFILE))
status += krb_err_base;
return status;