⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1202.txt

📁 中、英文RFC文档大全打包下载完全版 .
💻 TXT
📖 第 1 页 / 共 2 页
字号:
   terminated normally and the remainder of this line consists of the   name of an entry (see the 'd' Response below); if the response is   '5', then all children of an entry were found by the DAP-transaction.   Once the response is completely sent, the DAP-listener closes the   data connection.   Note that although numeric responses utilize ASCII, they are not   NVT-ASCII; in particular, the LF-character is used to indicate end-   of-line, rather than the CR-LF line termination sequence of NVT-   ASCII.2.2.2.2.  'm' Response   The 'm' response contains a one-line message which should be   presented to the user.   At this point, the client returns a response consisting of 'm'   followed by the LF-character.  The client should then continue   reading from the existing data connection.2.2.2.3.  'y' Response   The 'y' response contains a yes/no question which should be presented   to the user.  After querying the user, the response (either 'y' orRose                                                            [Page 6]RFC 1202              Directory Assistance Service         February 1991   'n'), followed by the LF-character, should be sent to the DAP-   listener.  The client should then continue reading from the existing   data connection.2.2.2.4.  'p' Response   The 'p' response contains a password-prompt which should be presented   to the user.  After querying the user, the client returns a response   consisting of 'p' followed by the password supplied by the user   followed by the LF-character.  The client should then continue   reading from the existing data connection.2.2.2.5.  'e' Response   The 'e' response is used to ask the user to edit some text.   Following the 'e' character is a decimal number in ASCII followed by   the LF-character, indicating the number of octets that should be   presented to the user for editing (these octets may include LF-   characters).   At this point, the client returns a response consisting of a single   character followed by a LF-character.  If the character is 'e', the   edit is aborted (e.g., the text is too large), and the client should   then continue reading from the existing data connection.   Otherwise, the DAP-listener sends the indicated number of octets   corresponding to the buffer that the user is to edit.  After the user   edits the buffer, one of two responses should be sent.   If the user aborted the edit, the response sent to the DAP-listener   is a single character 'e', followed by the LF-character.   Otherwise, the response consists of any single character other than   indicating the number of octets immediately following that resulted   from the user-edit.   Regardless of the outcome, the client should then continue reading   from the existing data connection.2.2.2.6.  'l' Response   The 'l' response contains an entry for a selection list to be   presented to the user.  The form of this entry consists of two   strings separated by the '$' character, and terminated by the LF-   character.  The first string is a user-friendly name, suitable for   display to the user; the second string is a fully-qualified   Distinguished Name in textual format.Rose                                                            [Page 7]RFC 1202              Directory Assistance Service         February 1991   At this point, the client returns a response consisting of 'l'   followed by the LF-character.   The client should continue to accumulate selection entries until an   LF-character.   At this point, the user should be asked to select one or more of the   selection entries.  After this selection, the client sends back a   response consisting of 'L' followed by one or more decimal numbers in   ASCII followed by the LF-character.  The numbers are separated by   spaces, and correspond to the entries selected by the user.  (The   entry corresponding to the first 'l' response is numbered 1, etc.)   The client should then continue reading from the existing data   connection.2.2.2.7.  'd' Response   The 'd' response contains a name that the client may be interested   in.  The form of this name consists of two strings separated by the   '$' character, and terminated by the LF-character.  The first string   is a user-friendly name, suitable for display to the user; the second   string is a fully-qualified Distinguished Name in textual format.   At this point, the client returns a response consisting of 'd'   followed by the LF-character.  The client should then continue   reading from the existing data connection.2.2.2.8.  'P' Response   The 'P' response is used to transmit a picture to the client.   Following the 'P' character is a decimal number in ASCII followed by   a name and then the LF-character.  The decimal number indicates the   size of the picture.  The name contains three strings separated by   the '$' character.  The first string is the name of the attribute   corresponding to the picture, in textual format; the second string is   a user-friendly name, suitable for display to the user; and, the   third string is a fully-qualified DistingiushedName in textual   format.   At this point, the client returns a response consisting of a single   character followed by a LF-character.  If the character is 'P', the   picture will not be sent (e.g., the image is too large), and the   client should then continue reading from the existing data   connection.   Otherwise, the DAP-listener sends the indicated number of octets   corresponding to the picture.  The picture is encoded using the PBMRose                                                            [Page 8]RFC 1202              Directory Assistance Service         February 1991   format from the PBMPLUS package.   Regardless of the outcome, the client should then continue reading   from the existing data connection.3.  Example Interaction   In the text that follows, "S:" refers to the DA-server, "L:" refers   to the DAP-listener, "C:" refers to the client talking to the DA-   server, and, "I:" refers to the client talking to the DAP-listener.          S: <wait for connection on TCP port 411>          C: <open connection to DA-server>          L: <wait for connections>          S: +OK 192.33.4.21 32867          I: <open connection to DAP-listener>          I: bind -simple -user "@c=US@cn=Manager"          L: pc=US@cn=Manager          -- client asks user for password for "c=US@cn=Manager"          I: psecret          L: <closes connection, signaling success but no response>          -- since response was null, client verifies that DAP-listener          -- is still operating...          C: STAT          S: +OK          I: <open connection to DAP-listener>          I: fred -expand "@"          L: 5             North America$l=North America             US$c=US             ...          L: <closes connection>          I: <open connection to DAP-listener>          I: fred -ufn rose,psi,us          L: 1             <followed by much data>          L: <closes connection>          I: <open connection to DAP-listener>          I: fred -ufn -list,rose,ps,us          L: lHewlett-Packard, US$c=US@o=Hewlett-Packard          I: l          L: lPerformance Systems International, US$c=US@o=Performance...Rose                                                            [Page 9]RFC 1202              Directory Assistance Service         February 1991          I: l          L: lRutgers University, US$c=US@o=Rutgers University          I: l          L: Lps          -- client presents selection list to user asking to select          -- matches for 'ps', user selects the 2nd          I: L 2          L: dManager, US$c=US@cn=Manager          I: d          L: 4Marshall Rose, ...$c=US@o=Performance...             <followed by much data>          L: <closes connection>          I: <open connection to DAP-listener>          I: fred -ufn -list,schoffstall,ps,us          L: 33 matches found.          Martin Schoffstall, ...$c=US@o=Performance...          Marvin Schoffstall, ...$c=US@o=Performance...          Steve Schoffstall, ...$c=US@o=Performance...          L: <closes connection>          C: QUIT          L: <stop listening for connections>          S: +OK          C: <close connection>          S: <wait for next connection>4.  References   [1] Information Processing - Open Systems Interconnection - The       Directory, International Organization for Standardization.       International Standard 9594, (1988).   [2] Kille, S., Robbins, C., Roe, M., and A. Turland, "The ISO       Development Environment: User's Manual", Volume 5: QUIPU,       Performance Systems International, January 1990.Rose                                                           [Page 10]RFC 1202              Directory Assistance Service         February 19915.  Security Considerations   Security considerations are not discussed in this memo.6.  Author's Address   Marshall T. Rose   PSI, Inc.   PSI California Office   P.O. Box 391776   Mountain View, CA 94039   Phone: (415) 961-3380   EMail: mrose@psi.comRose                                                           [Page 11]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -