You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/10/01 02:16:27 UTC

[GitHub] [hive] nrg4878 commented on a diff in pull request #3555: Improve LDAP auth to support include generic user filters (Naveen Gan…

nrg4878 commented on code in PR #3555:
URL: https://github.com/apache/hive/pull/3555#discussion_r985024771


##########
service/src/java/org/apache/hive/service/auth/ldap/CustomQueryFilterFactory.java:
##########
@@ -76,6 +76,19 @@ public void apply(DirSearch client, String user) throws AuthenticationException
           }
         }
       }
+
+      // try a generic user search
+      String userSearchQuery = query.replace("{0}", user);

Review Comment:
   Resolved



-- 
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: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org