tishamol@gmail.com wrote:
Hi Howard,
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
https://docs.kernel.org/networking/vrf.html
After you've bound your socket, you can give it to libldap with ldap_init_fd() and then use it normally thereafter.
Thanks, Smitha