[ 
https://issues.apache.org/jira/browse/DRILL-7573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036385#comment-17036385
 ] 

ASF GitHub Bot commented on DRILL-7573:
---------------------------------------

paul-rogers commented on issue #1977: DRILL-7573: Support htpasswd based 
authentication
URL: https://github.com/apache/drill/pull/1977#issuecomment-585890405
 
 
   @vvysotskyi, in this case the sleep is necessary. As I read it, this code 
uses the file system for synchronization. We write a file, then make a request 
that will check the file timestamp. If that request is too fast, the code will 
not detect the change.
   
   Maybe 1 second is too long; maybe 100ms is plenty.
   
   But, without the delay, we need some other mechanism for synchronization, 
which then defeats the purpose of the code and test.
   
   You propose changing the file modification timestamp. This can be done, but 
will not accurately reproduce the use case that we want to test.
   
   Are you OK with a shorter delay?
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Support text file for user authentication instead of using PAM
> --------------------------------------------------------------
>
>                 Key: DRILL-7573
>                 URL: https://issues.apache.org/jira/browse/DRILL-7573
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components:  Server, Web Server
>    Affects Versions: 1.17.0
>            Reporter: Dobes Vandermeer
>            Assignee: Dobes Vandermeer
>            Priority: Major
>             Fix For: 1.18.0
>
>
> Currently plain login using PAM as its user database.  However, in a 
> containerized or server environment the passwd file is generally kept static, 
> so some other mechanism for managing users is preferred.  Also, pam does not 
> by default come with an easy to way to check passwords other than via the 
> passwd/shadow files.
>  It would be great if there was another authentication method included in 
> drill that was easier to use in a containerized environment.
> Reading the usernames and password from a specific file would probably be the 
> simplest mechanism.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to