Howzit.
I am currenlty using .NET C# to connect to the normal eDirectory tree to
auth users. My code is 3 lines long, using the Novell LDAP/C# API examples.
The code work 100% and the users can auth on my system.
The problem is: When i do an netstat -a on my windows server the
connections stays open. Every user that my code auth against the eDir
8.7.3 stays open. Even if my code make a call myConn.Disconnect( )...stays
open.
I've also used the Windows DirectoryServices code to test. Same problem.
Conn stays open to the eDir?
PLEASE HELP. This is a big problem at the moment, running 500..1000 users
online.
C# code using the Novell's API for C# & LDAP
---------------------------------------------
LdapConnection conn = new LdapConnection( );
conn.Connect( this.ldapHost, this.ldapPort );
conn.Bind( this.loginDN, this.password );
conn.Disconnect( );
Dilip Krishnan - 16 Feb 2005 05:16 GMT
Hello LDAP Connection stays open" LDAP Connection stays,
Does the connection class implement a dispose method that you can call.
it could be that you need to free up the unmanaged resources
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Howzit.
>
[quoted text clipped - 21 lines]
> conn.Bind( this.loginDN, this.password );
> conn.Disconnect( );