Hi,
In the meantime, i learned from the DirectoryEntry's source file that an anonymous bind is made first to URL "LDAP://RootDSE", then the name of the domain is read from property "defaultNamingContext", then a second bind with sAMAccountName@domain is made. The problem is that i don't know how do do it with OpenLDAP API. Do you have any examples?
You should read ITS 8973:
http://www.openldap.org/its/index.cgi?findid=8973
A change in OpenLDAP 2.4.47 prevents to use the C# DirectoryEntry / DirectorySearcher objects. You need to use System.DirectoryServices.Protocols to request an OpenLDAP directory.
-- Clément Oudot | Identity Solutions Manager clement.oudot@worteks.com Worteks | https://www.worteks.com