1 2 /* 3 * Copyright (c) 1989 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms are permitted 7 * provided that the above copyright notice and this paragraph are 8 * duplicated in all such forms and that any documentation, 9 * advertising materials, and other materials related to such 10 * distribution and use acknowledge that the software was developed 11 * by the University of California, Berkeley. The name of the 12 * University may not be used to endorse or promote products derived 13 * from this software without specific prior written permission. 14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 16 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 */ 18 19 /* 20 * kpasswd_proto 21 * 22 * definitions for the kpasswd "protocol" 23 * (We hope this to be temporary until a real admin protocol is worked out) 24 */ 25 26 struct kpasswd_data { 27 des_cblock random_key; 28 char secure_msg[_PASSWORD_LEN]; 29 }; 30 struct update_data { 31 char pw[_PASSWORD_LEN]; 32 char secure_msg[_PASSWORD_LEN]; 33 }; 34 #define SERVICE "kpasswd" 35 #define SECURE_STRING "Kerberos password update program -- 12/9/88 UC Berkeley" 36