[Mono-list] Novell.Directory.Ldap broken in 1.1.10?

Loren Bandiera lorenb at mmgsecurity.com
Sat Nov 12 18:25:59 EST 2005


I was trying out Mono 1.1.10 today and ran into a problem with
Novell.Directory.Ldap.dll.  I'm getting errors about missing resources.

I didn't see any resources in the 1.1.10 tarball for
Novell.Directory.Ldap. I did notice there were .resx and .txt resources
in the Subversion tree.

Test code:
==========

static void Main (string[] args)
{			
	LdapConnection conn = new LdapConnection ();
	conn.SecureSocketLayer = true;
		
	conn.Connect (args[0], 636);
	conn.Bind ("", "");

	Console.WriteLine ("Bind Successfull");

	conn.Disconnect ();
}

output from Mono 1.1.9.2:
=========================
./test.exe 10.0.0.2
Detected errors in the Server Certificate:
-2146762481
-2146762487
Bind Successfull

output from Mono 1.1.10
=======================
$ ./test.exe 10.0.0.2

Unhandled Exception: System.Resources.MissingManifestResourceException:
Could not find any resource appropiate for the specified culture or its
parents. Make sure
"Novell.Directory.Ldap.Utilclass.ResultCodeMessages.resources" was
correctly embedded or linked into assembly "Novell.Directory.Ldap".
in <0x00459> System.Resources.ResourceManager:InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents)
in <0x0006e> System.Resources.ResourceManager:GetString (System.String
name, System.Globalization.CultureInfo culture)
in <0x00116>
Novell.Directory.Ldap.Utilclass.ResourcesHandler:getResultString (Int32
code, System.Globalization.CultureInfo locale)
in <0x00013>
Novell.Directory.Ldap.Utilclass.ResourcesHandler:getResultString (Int32
code)
in <0x00014> Novell.Directory.Ldap.LdapException:resultCodeToString ()
in <0x000aa> Novell.Directory.Ldap.LdapException:getExceptionString
(System.String exception)
in <0x00021> Novell.Directory.Ldap.LdapException:ToString ()


-- 
Loren Bandiera <lorenb at mmgsecurity.com>
MMG Security, Inc.



More information about the Mono-list mailing list