OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright 2000, International Business Machines Corporation and others. 00003 * All Rights Reserved. 00004 * 00005 * This software has been released under the terms of the IBM Public 00006 * License. For details, see the LICENSE file in the top-level source 00007 * directory or online at http://www.openafs.org/dl/license10.html 00008 */ 00009 00010 /* 00011 * Revision 1.5 88/11/18 09:17:53 00012 * This is now obsolete, opcodes are defined in kauth.rg, no opcode names 00013 * are used. 00014 * 00015 * Revision 1.4 88/09/20 11:37:36 00016 * Added IBM Copyright 00017 * 00018 * Revision 1.3 88/08/29 12:46:27 00019 * This checks in several new modules and many updates. The AuthServer 00020 * at this point works more or less as described in the NAFS document 00021 * released in at the Aug 23-24 1988 workshop. 00022 * Tickets are as described in the kerberos.ticket file. 00023 * Intergrated w/ MIT's des implementation and the Andrew one-way password 00024 * encryption. Uses bcrypt for RSECURE connections. Uses R not Rx. 00025 * 00026 * Revision 1.2 88/07/19 16:19:58 00027 * Added GetEntry and ListEntry; other internal changes. 00028 * */ 00029 00030 #define LOWEST_OPCODE 501 00031 #define KASETPASSWORD 501 00032 #define KAAUTHENTICATE 502 00033 #define KAGETTICKET 503 00034 #define KASETFIELDS 504 00035 #define KACREATEUSER 505 00036 #define KADELETEUSER 506 00037 #define KAGETENTRY 507 00038 #define KALISTENTRY 508 00039 #define KACHANGEPASSWORD 509 00040 #define KAGETSTATS 510 00041 #define HIGHEST_OPCODE 510 00042 00043 #define NUMBER_OPCODES (HIGHEST_OPCODE-LOWEST_OPCODE+1) 00044 00045 #ifdef OPCODE_NAMES 00046 static char *opcode_names[NUMBER_OPCODES] = { 00047 "SetPassword", 00048 "Authenticate", 00049 "GetTicket", 00050 "SetFields", 00051 "CreateUser", 00052 "DeleteUser", 00053 "GetEntry", 00054 "ListEntry", 00055 "ChangePW", 00056 "GetStats" 00057 }; 00058 #endif