📄 bind.h
字号:
/* bind.h - bind parameters *//* * $Header: /xtel/isode/isode/h/quipu/RCS/bind.h,v 9.0 1992/06/16 12:23:11 isode Rel $ * * * $Log: bind.h,v $ * Revision 9.0 1992/06/16 12:23:11 isode * Release 8.0 * *//* * NOTICE * * Acquisition, use, and distribution of this module and related * materials are subject to the restrictions of a license agreement. * Consult the Preface in the User's Manual for the full terms of * this agreement. * */#ifndef QUIPUBIND#define QUIPUBIND#include "quipu/name.h"#include "quipu/authen.h" /* THIS SECTION GIVES BIND PARAMETERS *//* Directory Bind Argument */struct ds_bind_arg { int dba_version; /* Treat INT as bitstring */#define DBA_VERSION_V1988 0 int dba_auth_type;#define DBA_AUTH_NONE 0#define DBA_AUTH_SIMPLE 1#define DBA_AUTH_STRONG 2#define DBA_AUTH_EXTERNAL 3#define DBA_AUTH_PROTECTED 4 /* special case of simple */ char *dba_time1; /* Timestamps for protected */ char *dba_time2; /* simple authentication. */ struct random_number dba_r1; struct random_number dba_r2; DN dba_dn; int dba_passwd_len; /* len = 0 means no password */#define DBA_MAX_PASSWD_LEN 512 char dba_passwd[DBA_MAX_PASSWD_LEN]; struct signature *dba_sig; /* signature for strong authen */ struct certificate_list *dba_cpath; /* certification path */ char * dba_vtmp; /* pepsy */ int dba_vlen; /* pepsy */ struct alg_id dba_alg;};struct ds_bind_error { int dbe_version; int dbe_type;#define DBE_TYPE_SERVICE 1#define DBE_TYPE_SECURITY 2 int dbe_value; /* takes on values as define in */ /* DSE_service or DSE_security */ /* according to dbe_type */ char * dbe_vtmp; /* pepsy */ int dbe_vlen; /* pepsy */#define DBE_SIZE 512 int dbe_cc; /* length */ char dbe_data[DBE_SIZE]; /* data */ };#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -