Changeset 3740:2a2a382c10ff in roaraudio


Ignore:
Timestamp:
04/27/10 15:35:56 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/auth.c

    r3517 r3740  
    3030 *  or libpulse*: 
    3131 *  The libs libroaresd, libroararts and libroarpulse link this lib 
    32  *  and are therefore GPL. Because of this it may be illigal to use 
     32 *  and are therefore GPL. Because of this it may be illegal to use 
    3333 *  them with any software that uses libesd, libartsc or libpulse*. 
    3434 */ 
     
    4545 * 5) if stage of server response is non-zero increment stage to server stage+1 
    4646 *    and repeat from step 2) 
    47  * 6) check if we got an OK or an ERROR, return currect value 
     47 * 6) check if we got an OK or an ERROR, return correct value 
    4848 */ 
    4949 
     
    6464 * and no additional stage is needed. 
    6565 * if the message type is OK the server accepted our auth. 
    66  * if the message type is ERROR the server recjected us. we may try other auth methodes. 
     66 * if the message type is ERROR the server rejected us. we may try other auth methods. 
    6767 * if the server accepted our data and the stage is non-zero we need to continue with the next 
    6868 * stage of the auth. 
     
    8080 * --- COOKIE: 
    8181 * We send cookies for all stages the server ask us to provide a cookie. 
    82  * if a cookie is wrong the server rejects us or aks us for another. 
     82 * if a cookie is wrong the server rejects us or asks us for another. 
    8383 * The cookie is send as binary data in the data block. 
    8484 * 
    8585 * --- TRUST: 
    86  * We ask the server to auth us based on ower UID/GID/PID. 
    87  * The server may reject this becasue we are not allowed or because it is not 
     86 * We ask the server to auth us based on our UID/GID/PID. 
     87 * The server may reject this because we are not allowed or because it is not 
    8888 * supported by the transport. 
    8989 * If we get rejected we may try to continue with IDENT then RHOST before we use NONE. 
     
    9191 * 
    9292 * --- PASSWORD: 
    93  * This is technikly the same as COOKIE just that the cookie is limited to 
     93 * This is technically the same as COOKIE just that the cookie is limited to 
    9494 * printable ASCII chars and that the user should be asked to provide the password. 
    9595 * This may be done via a GUI popup window. 
     
    100100 * The first part is a one byte long subtype. 
    101101 * The value must be 0x01 for username+password. 
    102  * futur versions may define other types. 
    103  * the secund part is the actual data block. 
     102 * future versions may define other types. 
     103 * the second part is the actual data block. 
    104104 * for username+password it is splited into two fields, both terminated with \0. 
    105105 * the first is the username the last one the password as clear text. 
Note: See TracChangeset for help on using the changeset viewer.