Hi Howard,
Old code was like this 1: ldap_initialize() 2: ldap_start_tls_s()
To use ldap_init_fd() code is modified as below 1: socket() 2: connect() 3: setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE,(int *) vrfid, strlen(vrfid) + 1); 4: ldap_init_fd() 5: But ldap_start_tls_s() failes with error " Can't contact LDAP server"
Am i missing something in this flow?
Thanks, Smitha