[dovecot-cvs] dovecot/doc auth-protocol.txt,1.3,1.4

cras at dovecot.org cras at dovecot.org
Tue Apr 26 14:43:32 EEST 2005


Update of /var/lib/cvs/dovecot/doc
In directory talvi:/tmp/cvs-serv13884/doc

Modified Files:
	auth-protocol.txt 
Log Message:
USER auth command requires now service parameter and supports also others
parameters. Fixes a crash in dovecot-auth with deliver+mysql.



Index: auth-protocol.txt
===================================================================
RCS file: /var/lib/cvs/dovecot/doc/auth-protocol.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- auth-protocol.txt	8 Jan 2005 19:01:31 -0000	1.3
+++ auth-protocol.txt	26 Apr 2005 11:43:30 -0000	1.4
@@ -85,7 +85,7 @@
 Authentication Request
 ----------------------
 
- C: "AUTH" TAB <id> TAB <mechanism> [TAB <parameters>]
+ C: "AUTH" TAB <id> TAB <mechanism> TAB service=<service> [TAB <parameters>]
 
  S1: "FAIL" TAB <id> [TAB <parameters>]
  S2: "CONT" TAB <id> TAB <base64 data>
@@ -94,11 +94,12 @@
 ID is a connection-specific unique request identifier. It must be a 32bit
 number, so typically you'd just increment it by one.
 
+Service is the service requesting authentication, eg. POP3, IMAP, SMTP.
+
 AUTH parameters are:
 
  - lip=<local ip>    : Local IP  - in standard string format,
  - rip=<remote ip>   : Remote IP - ie. for IPv4 127.0.0.1 and for IPv6 ::1
- - service=<service> : Service name (eg. POP3, IMAP, SMTP)
  - resp=<base64>     : Initial response for authentication mechanism
  - secured           : Remote user has secured transport to auth client
                        (eg. localhost, SSL, TLS)
@@ -144,7 +145,7 @@
 ---------------
 
  M: "REQUEST" TAB <id> TAB <client-pid> TAB <client-id>
- M: "USER" TAB <id> TAB <userid>
+ M: "USER" TAB <id> TAB <userid> TAB service=<service> [TAB <parameters>]
  M: "DIE"
 
  S: "NOTFOUND" TAB <id>
@@ -154,6 +155,9 @@
 Master commands can request information about existing authentication
 request, or about a specified user.
 
+USER command's service and parameters are the same as with AUTH client
+request.
+
 ID is a connection-specific unique request identifier. It must be a 32bit
 number, so typically you'd just increment it by one.
 



More information about the dovecot-cvs mailing list