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

Re: struct LDAP



At 05:59 PM 11/22/00 +0100, Norbert Klasen wrote:
>Hi,
>I'm wandering what the difference between these fields is:
>ld->lb_sb
>ld->ld_defconn->lconn_sb
>ld->ld_conns->lconn_sb
>
>Or asked another way: In which case are the Sockbufs pointed to actually
>different.

ld_conns is the list of connections, each with a different sockbuf.
The default connection (defconn) is the connection to the primary
server.

ld->ld_sb and ld->ld_defconn->lconn_sb should be same.  The reason
for having two is historical.

Long term, this code needs to be cleaned up.  We actually need
to revert the session handle to refer only to a single client/server
session and construct a higher level abstract for handling
directory (client/multiple server) sessions.

Kurt