comparison doc/auth-protocol.txt @ 3070:305ac76afcda HEAD

Removed SERVICE command. It's quite useless extra state to keep around.
author Timo Sirainen <tss@iki.fi>
date Sat, 08 Jan 2005 21:01:31 +0200
parents 052f3a5743af
children e5ce49c8524a
comparison
equal deleted inserted replaced
3069:131151e25e4b 3070:305ac76afcda
35 Server is an authentication server process. 35 Server is an authentication server process.
36 36
37 The connection starts by both client and server sending handshakes: 37 The connection starts by both client and server sending handshakes:
38 38
39 C: "VERSION" TAB <major> TAB <minor> 39 C: "VERSION" TAB <major> TAB <minor>
40 C: "SERVICE" TAB <service> (optional)
41 C: "CPID" TAB <pid> 40 C: "CPID" TAB <pid>
42 41
43 S: "VERSION" TAB <major> TAB <minor> 42 S: "VERSION" TAB <major> TAB <minor>
44 S: "SPID" TAB <pid> 43 S: "SPID" TAB <pid>
45 S: "CUID" TAB <pid> 44 S: "CUID" TAB <pid>
61 60
62 SPID can be used by authentication client to tell master what server 61 SPID can be used by authentication client to tell master what server
63 process handled the authentication. 62 process handled the authentication.
64 63
65 CUID is currently useful only for APOP authentication. 64 CUID is currently useful only for APOP authentication.
66
67 SERVICE command can be used to specify default service name for
68 authentication requests. If it's not set, each request must specify the
69 service separately.
70 65
71 DONE finishes the handshake from server. CPID finishes the handshake from 66 DONE finishes the handshake from server. CPID finishes the handshake from
72 client. 67 client.
73 68
74 69