|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.72 2008/01/15 22:18:20 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.73 2008/02/08 18:18:05 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="protocol"> |
4 | 4 | <title>Frontend/Backend Protocol</title> |
|
238 | 238 | For all authentication methods except GSSAPI and SSPI, there is at most |
239 | 239 | one request and one response. In some methods, no response |
240 | 240 | at all is needed from the frontend, and so no authentication request |
241 | | - occurs. For GSSAPI and SSPI, multiple iterations of packets may be needed to |
242 | | - complete the authentication. |
| 241 | + occurs. For GSSAPI and SSPI, multiple exchanges of packets may be needed |
| 242 | + to complete the authentication. |
243 | 243 | </para> |
244 | 244 |
|
245 | 245 | <para> |
|
370 | 370 | or a previous AuthenticationGSSContinue). If the GSSAPI |
371 | 371 | or SSPI data in this message |
372 | 372 | indicates more data is needed to complete the authentication, |
373 | | - the frontend must send this data as another PasswordMessage. If |
374 | | - GSSAPI authentication is completed by this message, the server |
375 | | - will also send AuthenticationOk to indicate successful authentication |
| 373 | + the frontend must send that data as another PasswordMessage. If |
| 374 | + GSSAPI or SSPI authentication is completed by this message, the server |
| 375 | + will next send AuthenticationOk to indicate successful authentication |
376 | 376 | or ErrorResponse to indicate failure. |
377 | 377 | </para> |
378 | 378 | </listitem> |
@@ -1808,7 +1808,7 @@ AuthenticationGSSContinue (B) |
1808 | 1808 | </term> |
1809 | 1809 | <listitem> |
1810 | 1810 | <para> |
1811 | | - Specifies that this message contains GSSAPI data. |
| 1811 | + Specifies that this message contains GSSAPI or SSPI data. |
1812 | 1812 | </para> |
1813 | 1813 | </listitem> |
1814 | 1814 | </varlistentry> |
@@ -3514,7 +3514,10 @@ PasswordMessage (F) |
3514 | 3514 | <listitem> |
3515 | 3515 | <para> |
3516 | 3516 | Identifies the message as a password response. Note that |
3517 | | - this is also used by GSSAPI response messages. |
| 3517 | + this is also used for GSSAPI and SSPI response messages |
| 3518 | + (which is really a design error, since the contained data |
| 3519 | + is not a null-terminated string in that case, but can be |
| 3520 | + arbitrary binary data). |
3518 | 3521 | </para> |
3519 | 3522 | </listitem> |
3520 | 3523 | </varlistentry> |
|
0 commit comments