* Copyright (C) 1987 by the Massachusetts Institute of Technology
*
* $Log$
- * Revision 1.3 1987-06-21 16:40:10 wesommer
- * Performance work, rearrangement of include files.
+ * Revision 1.4 1987-06-30 20:03:46 wesommer
+ * Put parsed kerberos principal name into the per-client structure.
*
+ * Revision 1.3 87/06/21 16:40:10 wesommer
+ * Performance work, rearrangement of include files.
+ *
* Revision 1.2 87/06/04 01:34:35 wesommer
* Added logging of arguments for some perverse reason.
*
#endif lint
extern int krb_err_base;
-#include <krb.h>
#include <strings.h>
#include "sms_server.h"
com_err(whoami, status, "(authentication failed)");
return;
}
+ bcopy(ad.pname, cl->kname.name, ANAME_SZ);
+ bcopy(ad.pinst, cl->kname.inst, INST_SZ);
+ bcopy(ad.prealm, cl->kname.realm, REALM_SZ);
+
(void) strcpy(buf, ad.pname);
if(ad.pinst[0]) {
(void) strcat(buf, ".");