Skip to content
Advertisement

Tag: directoryservices

Segmentation fault (core dumped) when calling LdapConnection.SendRequest(SearchRequest req) at System.DirectoryServices.Protocols on Ubuntu 18.04.4LTS

When I try to get user information from Active Directory, LdapConnection.SendRequest(SearchRequest req) causes : Segmentation fault (core dumped) on an Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-147-generic x86_64). If I remove the line searchRequest.TimeLimit = new TimeSpan(0, 1, 0); LdapPal.SearchDirectory method returns LdapError.TimeOut (-7). and throws : Below code works without any problem on a Windows. Verifying username and password by LdapConnection.Bind(new

Advertisement