dotnet / dotnet/aspnetcore

user LDAP GlobalCatalog to get user groups and add them to ClaimPrincipal.

Open
#41,974 12 comments 0 reactions 0 assignees View on GitHub
area-auth
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

This is in context to response received from "ZhiLv-MSFT" for https://docs.microsoft.com/en-us/answers/questions/870212/issue-in-implementing-windows-authentication-and-l.html

Background:-
We have a intranet web api hosted in Windows box (on prem) which is consumed by our Angular UI and we need to implement Integration Windows Authentication in the API side. I was looking into the MS docs (see below url) and noticed that there is "AddNegotiate" method which can help us authentication / authorize user.

I see there is a method by the name "EnableLDAP". But, when to try to pass LDAP GlobalCatalog then it throws error to us. However, If write simple LDAP code logic using "DirectoryEntry" with GlobalCatalog then it works.

Can we have a feature in AddNegotiate to use LDAP GlobalCatalog to pull user claims.

### Describe the solution you'd like

Can we have a feature in AddNegotiate to use LDAP GlobalCatalog to pull user claims.

### Additional context

So far I do not have any question expect that- Can this be provided as a feature ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.