[Mono-bugs] [Bug 76607][Wis] New - ArguementNullException with System.DirectoryServices

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 31 18:03:58 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 forgue at oakland.edu.

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

--- shadow/76607	2005-10-31 18:03:58.000000000 -0500
+++ shadow/76607.tmp.26617	2005-10-31 18:03:58.000000000 -0500
@@ -0,0 +1,71 @@
+Bug#: 76607
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Ubuntu Breezy w/ mono from go-mono.com
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: forgue at oakland.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ArguementNullException with System.DirectoryServices
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When an exception is thrown by the System.DirectoryServices library,
+another exception is thrown when trying to set the Culture.
+
+$ mono -V
+Mono JIT compiler version 1.1.9.2, (C) 2002-2005 Novell, Inc and
+Contributors. www.mono-project.com
+        TLS:           normal
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: normal
+
+Compilation:
+$ mcs -r:System.DirectoryServices -out:Test.exe Test.cs
+
+
+
+Steps to reproduce the problem:
+
+using System;
+using System.DirectoryServices;
+
+namespace Break
+{
+        class Test
+        {
+                static int Main(String[] args)
+                {
+                        string username = args[0];
+                        string password = args[1];
+                        DirectoryEntry selfE = new
+DirectoryEntry("ldap://ldap.oakland.edu/uid=" + username +
+",dc=oakland,dc=edu",username,password);
+                        Console.WriteLine(selfE.SchemaClassName);
+                        return 0;
+                }
+        }
+}
+
+Actual Results:
+
+  Breakage
+
+Expected Results:
+
+  I'd expect the LDAP libraries to really tell me what's wrong.
+
+How often does this happen? 
+
+  Every time with the above code.


More information about the mono-bugs mailing list