[Mono-list] Incorrect TCP connection termination in Novell.Directory.Ldap.Disconnect using SSL on Windows

pseud0 kennys0 at hotmail.com
Tue May 31 12:51:12 EDT 2011


Hi, we are using Novell.Directory.Ldap.dll from Mono 2.10.2 in a VS2005 C#
application on Windows. When we watch the network traffic for an LDAP
connection using SSL, during a Disconnect the client terminates the
connection with a tcp reset rather than a fin. This happens even with the
very simple test program shown below. This isn't a problem in as far as the
LDAP searches return successfully but would still like to understand whether
the issue is unique to our environment or a bug in the library.

Thanks for any help you can offer.

Kenny

/*test program*/
using System;
using Mono.Security;
using Novell.Directory.Ldap;
using Novell.Directory.Ldap.Asn1;
using Novell.Directory.Ldap.Utilclass;

String ldapHost = "192.168.0.1";
int ldapPort = 636;
String loginDN = "cn=admin,o=example";
String password = "password";

LdapConnection ld = new LdapConnection();
ld.SecureSocketLayer = true;
ld.Connect(ldapHost, ldapPort);
ld.Disconnect();

--
View this message in context: http://mono.1490590.n4.nabble.com/Incorrect-TCP-connection-termination-in-Novell-Directory-Ldap-Disconnect-using-SSL-on-Windows-tp3563666p3563666.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list