<div dir="ltr">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.<br><div><br></div><div>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.<br></div><div><br></div>Try 2 splits up <a href="https://source.winehq.org/patches/data/199454">https://source.winehq.org/patches/data/199454</a> into an adsldp patch and a wldap32 patch, rewrites <a href="https://source.winehq.org/patches/data/199453">https://source.winehq.org/patches/data/199453</a> to only defer the 0 results case to GetFirstRow()/GetNextRow() and adds a test for this, and rewrites the most controversial patch, <a href="https://source.winehq.org/patches/data/199455">https://source.winehq.org/patches/data/199455</a>, with a novel way of supplying credentials in a SASL mechanism-specific form.<br><br>Damjan Jovanovic</div>