Change Log: LDAP Libraries for C#
Added a new extension named "Get Privileges List" that is specific to eDirectory 8.8 SP5 (and onwards). This new extension will get the effective privileges for a list of attributes.
Fixed a few bugs.
Thrown exception when connection fails during an operation.
Changed interactive ssl sample to check store for the already existing valid certificates.
Cleaning of the read streams once the connection is closed.
SearchResultEventArgs.ToString() function classification gets the information from the type of event.
Added a fix to release the semaphore in case the connection fails.
Fixed few issues to handle the exceptions properly.
Fixed the issue related to picking up the Mono.Security.dll.
Updated the section “How to Use LDAP Libraries for C#”.
Added a new method in the Value Events class to get the raw binary data.
Fixed an issue related to isDescendent() of method in DN class.
Fixed few bugs related to events which caused unusual exception.
Added new feature for 'backup and restore' of the objects.
Fixed a bug to catch the uncaught socket exceptions and to check the socket types.
Fixed a bug to monitor the events that caused problems during eDirectory 8.8 SP1 release due to LdapResponse structure.
Fixed a bug to parse special character of the entries.
Added section on “Access Control List”.
Added the following samples:
ListGroups.cs- lists the members of the specified group.
ModifyACL.cs- demonstrates how to modify entryDN's ACL values added.
SetPassword.cs - shows how to set the password of an entry by setting the userPassword attribute of the entry
AsynchronousSortControl.cs - (added in Sample.Controls) shows how to use the server side control with Asynchronous search requests.
SimplePassword.cs - demonstrates how to set the simple password of an entry that has been added in Samples.Controls.
Sample usage modified to maintain uniformity.
Added new feature for 'backup and restore' of the objects.
Updated information on Mono.Security.dll usage.
Added the following samples:
ClientSideSort.cs
CompareAttrs.cs
DynamicGroup.cs
List.cs
Added a new sample 'GetLDAPBackupRestore.cs' to support the feature 'backup and restore' of the objects.
Modified the Mono.Security.dll to load from a non-default location (path).
Fixed minor defects to catch the exceptions.
Added the following sections:
Using the LDAP Classes
Exception Handling
Monitoring the eDirectory Events
Modified the examples in the following section:
Searching the Directory
Creating an Entry in the Directory
Modifying Entry Properties
Renaming an Entry
Moving an Entry
Deleting an Entry
Supported Controls
Added new sample EdirEventSample.cs in the extensions to support event handling.
Modified the sample SearchPersist.cs to monitor the changes properly.
The Connection.cs class is modified by synchronizing the stream threads to avoid the memory and handle consumptions.
Added information on SSL Integration.
Transitioned to revised Novell standards.
Implementation and sample for interactive SSL support:
This gives the client the provision to view the server details to which
it is trying to connect, and to decide whether to proceed with the SSL handshake
or not.
If the SSL handshake is proceeded, the server certificate will be imported automatically to the client's Trusted Store.
Error messages conformance with C# and .NET.
Removed the static dependency of Mono.Security.dll for cases where SSL is not required.
Defect Fix for a race condition that was giving ObjectDisposedException.
Fixed the following defects:
An error in server certificate: produces no errors when the client side does not have the certificate from the server. It just hangs for a particular sequence of calls.
If the server has an invalid certificate that is also present in the client side, the call just hangs.
Hard lock up at System. Threading. Monitor. Wait (messages): in MessagesAgent.cs.
Strong nams validation error for Mono.Security.dll.
No changes
No changes
Updated the license.txt file. In addition, the following changes were made:
No changes.
Added information on LDAP Event Services.
Added PSearchCallback.cs, which registers (unregisters) and handles persistent search events.
Added EdirEventsCallback.cs, which registers (unregisters) and handles eDirectory events.
Added integration with SSL managed code.
Added LDAP Extension enhacements to support registering extensions so that external developers can write their own extension and plugin into .NET C# LDAP Lib.
Added section on “Integrating SSL with LDAP Libraries for C#”.
Added the GetAttributeSchema.cs sample demonstrating use of newly added C# LDAP Schema API
Added the AddUsersToGroup.cs sample demonstrating how to add a user to a group using C# LDAP Library.
Added the ModifyPass.cs sample demonstarting how a user can change his eDirectory password using C# LDAP Library.
Added the SecureBind.cs sample demonstrating how to perform LDAP Secure Bind over SSL using newly addes SSL/TLS support in C# LDAP Library.
Added the StartTLS.cs sample demonstrating how to perform Start and Stop TLS functions over using newly addes SSL/TLS support in C# LDAP Library.
Added the SearchPersist.cs sample demonstarting performing persistent search on eDirectory server using newly added persistent search control in C# LDAP Library.
Added the SortSearch.cs sample demonstarting performing sorted search on eDirectory server using newly added SortSearch control in C# LDAP Library.
Added the VLVControl.cs sample demonstarting how to use VLV Sortcontrol using Synchronous search request using newly Added VLVSearch control in C# LDAP Library.
Added the GetBindDN.cs sample demonstrating how to get the distinguished name of the object you used when making ldap bind calls using C# LDAP Library.
Added the GetEffectivePrivileges.cs sample demonstarting how to get the rights that a trustee object has on the object using C# LDAP Library.
Added the GetReplicaInfo.cs sample demonstarting how to get the inforamtion about a replica that resides on a specific server using C# LDAP Library.
Added the ListReplicas.cs sample demonstarting how to list all the replicas that resides on a specific server using C# LDAP Library.
Added the PartitionEntryCount.cs sample demonstrating how to count number of objects in a partition using C# LDAP Library.
Added to the NDK.