Hi
I have a program in c# which accesses an LDAP data-store to obtain user and group information (using classes from .net's DirectoryServices namespace).
Now we want to use another LDAP data-store, and a problem has arisen with sorting (we try to sort on the "cn"). It appears that some LDAP implementations do not support sorting? Is this correct?
In any case, we now get an exception in our c# code, stating that the "value for the property sort cannot be set".
Is it possible to determine from an LDAP data-store what functionality it supports? For example, find out if I can sort or not? Any info in general about LDAP, or specific to .net/c# would be appreciated.
Thanks,
Peter
I have a program in c# which accesses an LDAP data-store to obtain user and group information (using classes from .net's DirectoryServices namespace).
Now we want to use another LDAP data-store, and a problem has arisen with sorting (we try to sort on the "cn"). It appears that some LDAP implementations do not support sorting? Is this correct?
In any case, we now get an exception in our c# code, stating that the "value for the property sort cannot be set".
Is it possible to determine from an LDAP data-store what functionality it supports? For example, find out if I can sort or not? Any info in general about LDAP, or specific to .net/c# would be appreciated.
Thanks,
Peter