Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.DirectoryServices.Protocols - Night build preview 6 - LDAP Linux Search Error #36948

Closed
brunobritodev opened this issue May 24, 2020 · 1 comment

Comments

@brunobritodev
Copy link

Description

I was trying to search a user specific metadata by following code snippet:

var searchFilter = $"(|([email protected])(sAMAccountName={username}))";
var searchRequest = new SearchRequest("DC=brunobrito,DC=net", searchFilter, SearchScope.Subtree, "displayName", "cn", "mail" );

var response = (SearchResponse)connection.SendRequest(searchRequest);

The code runs fine at Windows Environment, but doesn't work under Linux. Doesn't matter the changes at filter / parameters I do the error is always the same: An unspecified operation error occurred.

Configuration

  • Which version of .NET is the code running on?
    .NET 5.0
  • What OS and version, and what distro if applicable?
    Linux Debian 10 - Container image runtime:5.0-buster-slim
@ericstj
Copy link
Member

ericstj commented Jul 9, 2020

This looks like it is the same issue reported in #38608.

@ericstj ericstj closed this as completed Jul 9, 2020
@ericstj ericstj removed the untriaged New issue has not been triaged by the area owner label Jul 9, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants