Annotation of 43BSDReno/contrib/isode-beta/h/quipu/bind.h, revision 1.1

1.1     ! root        1: /* bind.h - bind parameters */
        !             2: 
        !             3: /*
        !             4:  * $Header: /f/osi/h/quipu/RCS/bind.h,v 7.0 89/11/23 21:56:24 mrose Rel $
        !             5:  *
        !             6:  *
        !             7:  * $Log:       bind.h,v $
        !             8:  * Revision 7.0  89/11/23  21:56:24  mrose
        !             9:  * Release 6.0
        !            10:  * 
        !            11:  */
        !            12: 
        !            13: /*
        !            14:  *                               NOTICE
        !            15:  *
        !            16:  *    Acquisition, use, and distribution of this module and related
        !            17:  *    materials are subject to the restrictions of a license agreement.
        !            18:  *    Consult the Preface in the User's Manual for the full terms of
        !            19:  *    this agreement.
        !            20:  *
        !            21:  */
        !            22: 
        !            23: 
        !            24: #ifndef QUIPUBIND
        !            25: #define QUIPUBIND
        !            26: #include "quipu/name.h"
        !            27: #include "quipu/authen.h"
        !            28: 
        !            29:        /* THIS SECTION GIVES BIND PARAMETERS */
        !            30: 
        !            31: /* Directory Bind Argument */
        !            32: 
        !            33: struct ds_bind_arg {
        !            34:     int dba_version;                    /* Treat INT as bitstring */
        !            35: #define DBA_VERSION_V1988 0x001
        !            36:     int dba_auth_type;
        !            37: #define DBA_AUTH_EXTERNAL -1
        !            38: #define DBA_AUTH_NONE      0
        !            39: #define DBA_AUTH_SIMPLE    1
        !            40: #define DBA_AUTH_PROTECTED 2
        !            41: #define DBA_AUTH_STRONG    3
        !            42:     char *dba_time1;                   /* Timestamps for protected    */
        !            43:     char *dba_time2;                   /* simple authentication.      */
        !            44:     struct random_number dba_r1;
        !            45:     struct random_number dba_r2;
        !            46:     DN dba_dn;
        !            47:     int dba_passwd_len;                 /* len = 0 means no password    */
        !            48: #define DBA_MAX_PASSWD_LEN 512
        !            49:     char dba_passwd[DBA_MAX_PASSWD_LEN];
        !            50:     struct signature *dba_sig;         /* signature for strong authen  */
        !            51:     struct certificate_list *dba_cpath;        /* certification path           */
        !            52: };
        !            53: 
        !            54: struct ds_bind_error {
        !            55:     int dbe_version;
        !            56:     char dbe_type;
        !            57: #define DBE_TYPE_SERVICE 0
        !            58: #define DBE_TYPE_SECURITY 1
        !            59:     int dbe_value;                      /* takes on values as define in */
        !            60:                                        /* DSE_service or DSE_security  */
        !            61:                                        /* according to dbe_type        */
        !            62: };
        !            63: 
        !            64: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.