From 0028b22d68a7e614a1e8fd2b4bca3bf2166c13b2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 8 Feb 2008 18:18:05 +0000 Subject: [PATCH] Some small editorialization on the protocol documentation for GSSAPI/SSPI authentication. --- doc/src/sgml/protocol.sgml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index f9dfb1f45d..0797812c00 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1,4 +1,4 @@ - + Frontend/Backend Protocol @@ -238,8 +238,8 @@ For all authentication methods except GSSAPI and SSPI, there is at most one request and one response. In some methods, no response at all is needed from the frontend, and so no authentication request - occurs. For GSSAPI and SSPI, multiple iterations of packets may be needed to - complete the authentication. + occurs. For GSSAPI and SSPI, multiple exchanges of packets may be needed + to complete the authentication. @@ -370,9 +370,9 @@ or a previous AuthenticationGSSContinue). If the GSSAPI or SSPI data in this message indicates more data is needed to complete the authentication, - the frontend must send this data as another PasswordMessage. If - GSSAPI authentication is completed by this message, the server - will also send AuthenticationOk to indicate successful authentication + the frontend must send that data as another PasswordMessage. If + GSSAPI or SSPI authentication is completed by this message, the server + will next send AuthenticationOk to indicate successful authentication or ErrorResponse to indicate failure. @@ -1808,7 +1808,7 @@ AuthenticationGSSContinue (B) - Specifies that this message contains GSSAPI data. + Specifies that this message contains GSSAPI or SSPI data. @@ -3514,7 +3514,10 @@ PasswordMessage (F) Identifies the message as a password response. Note that - this is also used by GSSAPI response messages. + this is also used for GSSAPI and SSPI response messages + (which is really a design error, since the contained data + is not a null-terminated string in that case, but can be + arbitrary binary data). -- 2.40.0