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

Re: slapd compatability with Microsoft Outlook 98 (ITS#30)

At 10:50 PM 12/30/98 GMT, opoplawski@cqg.com wrote:
>Full_Name: Orion Poplawski
>Version: 1.1.1
>OS: HP-UX 10.20
>Submission from: (NULL) (
>Using the "Start->Find->People" Windows functionality provided by Microsoft
>Outlook 98 results in the following connection activity with slapd (the same
>behavior is exhibited when doing address searches in Outlook 98, but this is
>simpler to test with):
>As you can see, the first connection is left open.  netstat reports:
>tcp        0      0  cqg1.ldap              bnworion.bvt.com.2017  ESTABLISHED
>tcp        0      0  *.ldap                 *.*                    LISTEN
>This is left open until the find application (or Outlook 98) is closed.

Sounds like an MS Outlook 98 bug to me...

>This is
>repeated for each query, so you can build up a LOT of stale connections pretty

>My solution has been to implement a socket close in "servers/slapd/bind.c", but
> there probably is a better way.

This is not a proper solution.  The client may want to attempt another
operation (like a v2 bind).  The server should not arbitarily close
the connection.

The proper solution is to have Microsoft fix their client to attempt
to v2 bind if the v3 bind fails (and to properly ldap_unbind() any
unused LDAP sessions).