[Mono-bugs] [Bug 76708][Maj] Changed - Novell.Directory.Ldap missing resources

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 15 20:04:10 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lorenb at mmgsecurity.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76708

--- shadow/76708	2005-11-15 09:04:18.000000000 -0500
+++ shadow/76708.tmp.30934	2005-12-15 20:04:10.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: lorenb at mmgsecurity.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -75,6 +75,23 @@
 
 How often does this happen? 
 
 Every time.
 
 Additional Information:
+
+------- Additional Comments From lorenb at mmgsecurity.com  2005-12-15 20:04 -------
+I found the two causes of this bug. The first was a problem in how
+Novell.Directory.Ldap.Utilclass/ResoucesHandler.cs was loading the
+resource messages.
+
+The second issue was that for SSL support in 
+Novell.Directory.Ldap/Connection.cs it tries to load the Mono.Security
+assembly. It does this by calling
+Assembly.LoadFrom("Mono.Security.dll"). That only checks the current
+application directory. 
+
+The better thing to do would be to check the current application
+directory AND the GAC. That can be done with via
+Assembly.LoadWithPartialName ("Mono.Security")
+
+I've created a patch that fixes both of these problems.


More information about the mono-bugs mailing list