RSA Security logo

RSA BSAFE Cert-C
API Reference

LDAP_INIT_PARAMS Struct Reference

Passes initialization parameters to the Cert-C LDAP Database service provider's initialization functions.

When C_InitializeCertC is used to register the Cert-C LDAP Database service provider, the corresponding handlerParams should point to a LDAP_INIT_PARAMS structure. Or, if C_RegisterService() is used to register the Cert-C LDAP Database service provider, the corresponding params should point to a LDAP_INIT_PARAMS structure.

Data Fields
cfgDbName The database name. If a database name is not supplied, ldcfdflt is the default database name, and it is stored in the current directory.
sourceName The name of the LDAP source to be initialized.
userName This field is optional. If LDAP operations for this server require an authenticated user, this is the user name. If the LDAP does not use authentication, this should be an empty string. userName must be in the form of an X.500 Distinguished Name.
userPassword This field is optional. It is required only if userName is specified. If LDAP operations for this server require an authenticated user, this is the password. If userName is empty, userPassword is ignored.

#include <ldapapi.h>

00218 typedef struct {
00219   char cfgDbName[MAXLEN_LD_CFG_DBNAME];    /* data store name */
00220   char sourceName[MAXLEN_LD_NAME];         /* name of source being initialized */
00221   char userName[MAXLEN_LD_DN];             /* user name - DN for LDAP authentication (optional) */
00222   char userPassword[MAXLEN_LD_PASSPHRASE]; /* password - for LDAP authentication (optional) */
00223 } LDAP_INIT_PARAMS, * PLDAP_INIT_PARAMS;

The documentation for this struct was generated from the following file:


RSA BSAFE® Cert-C 2.7 API Reference