Sorry for the confusion. I meant virtual routing and forwarding(VRF), where in we will
have to bind the socket to a particular vrf-id when connecting to ldap-server.
In Linux you must explicitly bind a socket to a VRF, as doc'd here
After you've bound your socket, you can give it to libldap with ldap_init_fd() and
then use it normally thereafter.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/