1*38050Skfall 
236331Skfall /*
3*38050Skfall  * Copyright (c) 1989 The Regents of the University of California.
4*38050Skfall  * All rights reserved.
5*38050Skfall  *
6*38050Skfall  * Redistribution and use in source and binary forms are permitted
7*38050Skfall  * provided that the above copyright notice and this paragraph are
8*38050Skfall  * duplicated in all such forms and that any documentation,
9*38050Skfall  * advertising materials, and other materials related to such
10*38050Skfall  * distribution and use acknowledge that the software was developed
11*38050Skfall  * by the University of California, Berkeley.  The name of the
12*38050Skfall  * University may not be used to endorse or promote products derived
13*38050Skfall  * from this software without specific prior written permission.
14*38050Skfall  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15*38050Skfall  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16*38050Skfall  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17*38050Skfall  */
18*38050Skfall 
19*38050Skfall /*
2036331Skfall  * kpasswd_proto
2136331Skfall  *
2236331Skfall  * definitions for the kpasswd "protocol"
2336331Skfall  * (We hope this to be temporary until a real admin protocol is worked out)
2436331Skfall  */
2536331Skfall 
2636331Skfall #define	MSGSIZE	255
2736331Skfall struct kpasswd_data {
2836331Skfall 	C_Block	random_key;
2936331Skfall 	char	secure_msg[MSGSIZE];
3036331Skfall };
3136331Skfall struct update_data {
3236331Skfall 	char	pw[255];
3336331Skfall 	char	secure_msg[MSGSIZE];
3436331Skfall };
3536331Skfall #define	SERVICE		"kpasswd"
3636331Skfall #define	SECURE_STRING	"Kerberos password update program -- 12/9/88 UC Berkeley"
37