]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth-protocol.txt: Updated with the new cookie changes.
authorTimo Sirainen <tss@iki.fi>
Wed, 14 Oct 2009 22:30:04 +0000 (18:30 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 14 Oct 2009 22:30:04 +0000 (18:30 -0400)
--HG--
branch : HEAD

doc/auth-protocol.txt

index bfcebd83c3f3a24ff14ff1034fa20a8990ba3e34..b3ebe2d0b3c5d5c4e08b39cb3408621a92decca9 100644 (file)
@@ -42,6 +42,7 @@ The connection starts by both client and server sending handshakes:
  S: "VERSION" TAB <major> TAB <minor>
  S: "SPID" TAB <pid>
  S: "CUID" TAB <pid>
+ S: "COOKIE" TAB <cookie>
  S: "MECH" TAB <name> [TAB <parameters>] (multiple times)
  S: "DONE"
 
@@ -63,6 +64,9 @@ process handled the authentication.
 
 CUID is currently useful only for APOP authentication.
 
+COOKIE returns connection-specific 128 bit cookie in hex. It must be
+given to REQUEST command. (v2.0+)
+
 DONE finishes the handshake from server. CPID finishes the handshake from
 client.
 
@@ -156,7 +160,7 @@ SPID can be used to let master identify the server process.
 Master Requests
 ---------------
 
- M: "REQUEST" TAB <id> TAB <client-pid> TAB <client-id>
+ M: "REQUEST" TAB <id> TAB <client-pid> TAB <client-id> TAB <cookie>
  M: "USER" TAB <id> TAB <userid> TAB service=<service> [TAB <parameters>]
 
  S: "NOTFOUND" TAB <id>