This patchset gets .NET's System.DirectoryServices API to a minimally functional level. It can now be used to (at least) log in and search, using the DirectoryEntry and DirectorySearcher classes.
Try 3 interprets the LDAP_OPT_REFERRALS option's parameter type as a pointer, instead of a pointer to a value. Also our credentials' username is supplied to Cyrus SASL as both the authentication and authorization username, instead of the previous elaborate per-mechanism credential treatment.
Try 2 splits up https://source.winehq.org/patches/data/199454 into an adsldp patch and a wldap32 patch, rewrites https://source.winehq.org/patches/data/199453 to only defer the 0 results case to GetFirstRow()/GetNextRow() and adds a test for this, and rewrites the most controversial patch, https://source.winehq.org/patches/data/199455, with a novel way of supplying credentials in a SASL mechanism-specific form.
Damjan Jovanovic