Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-8929: Log into Docker container using AD user does not work

Centrify DirectControl ,  

19 July,17 at 10:19 PM

Applies to: Centrify Direct Control 5.3.1 and above on all supported platforms

Problem: 
After setting up Centrify Direct Control in a Docker Container, it is not possible to log in with an AD user. 
Example attempting to log in with user 'cook':
 
$ docker run -it -u cook -v /var/centrifydc:/var/centrifydc mycentos:working  /bin/bash
/usr/bin/docker-current: Error response from daemon: linux spec user: unable to find user cook: no matching entries in passwd file.

Cause:
There is an issue with docker, when it launches /bin/bash, it looks at /etc/passwd itself rather than using getpwnam/getpwuid like when it verifies invoking the user.

Resolution:
Please contact Docker Support to address this issue. 


 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.