liujiayi771 opened a new pull request, #40577:
URL: https://github.com/apache/spark/pull/40577

   ### What changes were proposed in this pull request?
   Fixed the problem that LDAP authentication cannot be performed correctly 
when the domain parameter is passed in. For example, Spark Thrift Server will 
encounter this problem when using Active Directory and passing domain for LDAP 
authentication.
   
   
   ### Why are the changes needed?
   When the LDAP provider has domain configuration, such as Active Directory, 
the principal should not be constructed according to the DN pattern, but the 
user containing the domain should be directly passed to the LDAP provider as 
the principal.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Existing test.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to