SS_ADV_BIND_INFO_T

Used to bind over supported protocols by eDirectory.

Syntax

    typedef	 struct 
    {
    unsigned long		    version; 
    unsigned long		    flags; 
    unsigned long		    portNum; 
    SS_ADDR_T		     hName; 
    SS_CERT_T		     cert; 
    SS_ADV_CRED_T		   *cred; 
    } SS_ADV_BIND_INFO_T;
    

Fields

version
(IN) Specifies the bind structure’s version. NSSS_CUR_ADV_BIND_INFO_VER signifies the version this structure.
flags
(IN) Specifies the flags that can be used to determine which type of credential and authentication mechanism is used. Current supported flags include the following:

Flag

Description

NSSS_PWORD_CRED_F

Indicates that a password is being used for credential.

NSSS__SET_ANON_PORT_F

Indicates an anonymous port other than the default is being used.

portNum
(IN) Specifies the port to bind on (optional).
hName
(IN) Designates the DNS name or the IP address of the target server.
cert
(IN) Encodes or stores the certificate needed for authentication.
cred
(IN) This generic structure can be used to encode or store the credential for authentication. (When LDAP is used to login, password can be stored here.)

Description

This structure provides the advance bind information to bind over different protocols.