[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: uniqueness of ldap connection handle

>  I have 2 ldap clients that connect to the same ldap server. I need to
>  distinguish these two connections. I thought the LDAP structure can
>  be used to distinguish a connection.  However, when I investigate the
>  ld of the clients after ldap_init(), I find that both are identical
>  even the Sockbuf is identical. What is that that uniquely identifies
>  an ldap client-server connection ?

As with any network client, you can uniquify a connection to a server

	clientIPaddr + processID + filedescriptor

AFAIK LDAP does not support a uniquifier in the connection handle.