/* * $Source$ * $Author$ * $Header$ * * Copyright (C) 1987 by the Massachusetts Institute of Technology * * $Log$ * Revision 1.1 1987-05-20 03:11:18 wesommer * Initial revision * * * Handles the client side of the sending of authenticators to * the sms server. */ #ifndef lint static char *rcsid_sms_auth_c = "$Header$"; #endif lint #include "sms_private.h" #include int sms_auth() { int status; struct sms_params aparms; if (!_sms_conn) { return SMS_NOT_CONNECTED; } /* * Build a Kerberos authenticator. */ status = mk_ap_req(&auth, "sms", "sms", "ATHENA.MIT.EDU", 0); if (status != KSUCCESS) { status += krb_err_base; goto punt; } if (!sms_call_op) sms_call_op = create_operation(); }