From a5793b8f10dbbbd5e55acfa54a2bdf140b208233 Mon Sep 17 00:00:00 2001 From: Boris Kirzner Date: Tue, 27 Sep 2005 15:43:29 +0000 Subject: Added generated resx files and fixed referencing resources. svn path=/trunk/mcs/; revision=50873 --- mcs/class/Novell.Directory.Ldap/ChangeLog | 3 + .../Novell.Directory.Ldap.Utilclass/ChangeLog | 4 + .../ExceptionMessages.resx | 289 +++++++++++++++++++++ .../ResourcesHandler.cs | 4 +- .../ResultCodeMessages.resx | 283 ++++++++++++++++++++ .../Novell.Directory.Ldap.vmwcsproj | 2 + 6 files changed, 583 insertions(+), 2 deletions(-) create mode 100644 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog create mode 100644 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ExceptionMessages.resx create mode 100644 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resx (limited to 'mcs/class/Novell.Directory.Ldap') diff --git a/mcs/class/Novell.Directory.Ldap/ChangeLog b/mcs/class/Novell.Directory.Ldap/ChangeLog index 1a379cf9181..95ea04efc36 100644 --- a/mcs/class/Novell.Directory.Ldap/ChangeLog +++ b/mcs/class/Novell.Directory.Ldap/ChangeLog @@ -1,3 +1,6 @@ +2005-27-09 Boris Kirzner + * Novell.Directory.Ldap.vmwcsproj: added reference to resx files. + 2005-27-09 Palaniappan N * The folder is made in synch. with the Novell Forge's C# LDAP SDK with the following updates: - Changes in Connection.cs regarding appropriate handling diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog new file mode 100644 index 00000000000..19e34349fcc --- /dev/null +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog @@ -0,0 +1,4 @@ +2005-27-09 Boris Kirzner + * ChangeLog: added changelog file. + * ExceptionMessages.resx, ResultCodeMessages.resx: added generated resx files (for TARGET_JVM). + * ResourcesHandler.cs: fixed refencing res files. diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ExceptionMessages.resx b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ExceptionMessages.resx new file mode 100644 index 00000000000..20e75ca30c9 --- /dev/null +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ExceptionMessages.resx @@ -0,0 +1,289 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + {0}: {1} ({2}) {3} + + + {0}: Server Message: {1} + + + {0}: Matched DN: {1} + + + {0}: Failed Referral: {1} + + + {0}: Referral: {1} + + + Unable to connect to server {0}:{1} + + + Unable to reconnect to server, application has never called connect() + + + Connection lost waiting for results from {0}:{1} + + + Connection closed by the application finalizing the object + + + Connection closed by the application disconnecting + + + Reader thread terminated + + + RfcLdapMessage: Cannot duplicate message built from the input stream + + + Error attempting to follow a search continuation reference + + + Error attempting to follow a referral + + + LdapSearchResults.{0}(): No entry found & request is not complete + + + Error sending request to referred server + + + Search result reference received, and referral following is off + + + LdapBind.bind() function returned null + + + Could not match LdapBind.bind() connection with Server Referral URL list + + + Cannot duplicate message to follow referral for {0} request, not allowed + + + Error connecting to server {0} while attempting to follow a referral + + + Requested property is not supported. + + + Invalid Entry parameter + + + Invalid DN parameter + + + Invalid DN or RDN parameter + + + Invalid extended operation parameter, no OID specified + + + Invalid parameter + + + Error Decoding responseValue + + + Encoding Error + + + I/O Exception on host {0}, port {1} + + + Invalid value in escape sequence "{0}" + + + Incomplete escape sequence + + + Unexpected end of filter + + + Unmatched parentheses, left parenthesis missing + + + Semicolon present, but no option specified + + + Unmatched parentheses, right parenthesis missing + + + Expecting right parenthesis, found "{0}" + + + Expecting left parenthesis, found "{0}" + + + Missing attribute description + + + DN and matching rule not specified + + + Missing matching rule + + + Invalid comparison operator + + + The invalid character "{0}" needs to be escaped as "{1}" + + + Escape sequence not allowed in attribute description + + + Invalid character "{0}" in attribute description + + + Schema element is not an LdapAttributeSchema object + + + Length of attribute Name array does not equal length of Flags array + + + Referral not supported for command {0} + + + Method LdapConnection.startTLS not implemented + + + All results could not be stored in memory, sort failed + + + Received unsolicited notification from server {0}:{1} to shutdown + + + Invalid syntax for address with port; {0} + + + Unknown Ldap result code {0} + + + Cannot start or stop TLS because outstanding Ldap operations exist on this connection + + + StartTLS cannot use the set socket factory because it does not implement LdapTLSSocketFactory + + + StartTLS failed because no LdapTLSSocketFactory has been set for this Connection + + + An attempt to stopTLS on a connection where startTLS had not been called + + + Error stopping TLS: Error getting input & output streams from the original socket + + + Multiple schema found when reading the subschemaSubentry for {0} + + + No schema found when reading the subschemaSubentry for {0} + + + Read response is ambiguous, multiple entries returned + + + Cannot bind. Use PoolManager.getBoundConnection() + + + Please ensure that SSL Provider is properly installed. + + \ No newline at end of file diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResourcesHandler.cs b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResourcesHandler.cs index 5fad354da24..fdc4153377e 100644 --- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResourcesHandler.cs +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResourcesHandler.cs @@ -108,7 +108,7 @@ namespace Novell.Directory.Ldap.Utilclass { if (defaultMessages == null) { - defaultMessages = new ResourceManager("ExceptionMessages", Assembly.GetExecutingAssembly()); + defaultMessages = new ResourceManager("Novell.Directory.Ldap.Utilclass.ExceptionMessages", Assembly.GetExecutingAssembly()); } if (defaultLocale == null) @@ -181,7 +181,7 @@ namespace Novell.Directory.Ldap.Utilclass { /* defaultResultCodes = ResourceManager.CreateFileBasedResourceManager("ResultCodeMessages", "Resources", null);*/ - defaultResultCodes = new ResourceManager("ResultCodeMessages", Assembly.GetExecutingAssembly()); + defaultResultCodes = new ResourceManager("Novell.Directory.Ldap.Utilclass.ResultCodeMessages", Assembly.GetExecutingAssembly()); } if (defaultLocale == null) diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resx b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resx new file mode 100644 index 00000000000..f84f96c5311 --- /dev/null +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResultCodeMessages.resx @@ -0,0 +1,283 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Success + + + Operations Error + + + Protocol Error + + + Timelimit Exceeded + + + Sizelimit Exceeded + + + Compare False + + + Compare True + + + Authentication Method Not Supported + + + Strong Authentication Required + + + Partial Results + + + Referral + + + Administrative Limit Exceeded + + + Unavailable Critical Extension + + + Confidentiality Required + + + SASL Bind In Progress + + + No Such Attribute + + + Undefined Attribute Type + + + Inappropriate Matching + + + Constraint Violation + + + Attribute Or Value Exists + + + Invalid Attribute Syntax + + + No Such Object + + + Alias Problem + + + Invalid DN Syntax + + + Is Leaf + + + Alias Dereferencing Problem + + + Inappropriate Authentication + + + Invalid Credentials + + + Insufficient Access Rights + + + Busy + + + Unavailable + + + Unwilling To Perform + + + Loop Detect + + + Naming Violation + + + Object Class Violation + + + Not Allowed On Non-leaf + + + Not Allowed On RDN + + + Entry Already Exists + + + Object Class Modifications Prohibited + + + Affects Multiple DSAs + + + Other + + + Server Down + + + Local Error + + + Encoding Error + + + Decoding Error + + + Ldap Timeout + + + Authentication Unknown + + + Filter Error + + + User Cancelled + + + Parameter Error + + + No Memory + + + Connect Error + + + Ldap Not Supported + + + Control Not Found + + + No Results Returned + + + More Results To Return + + + Client Loop + + + Referral Limit Exceeded + + + TLS not supported + + + SSL handshake failed + + + SSL Provider not found + + \ No newline at end of file diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.vmwcsproj b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.vmwcsproj index 5c69b94243f..49c7c8c1b0f 100644 --- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.vmwcsproj +++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.vmwcsproj @@ -223,6 +223,7 @@ + @@ -231,6 +232,7 @@ + -- cgit v1.2.3