After my latest post about setting up a Lightwave multi-node domain in this post I’ll describe how to configure SSH authentication against Lightwave.
Configure the service
The first task is enable PAM and nsswitch for the authentication, use the command /opt/likewise/bin/domainjoin-cli.
Next using lwregshell, the Likewise Registry Shell, we need to update the authentication providers load order. We will indicate Likewise to authenticate first against Active Directory, second vmDir and finally local authentication.
Finally restart lsass service.
Test the authentication
To test the new configuration open an SSH connection to your Docker host with the user created in the previous post, jreypo.
This is a non-priviledge user and will have limited rights within the Docker host, like for example listing the running containers with docker ps. Close the connection and open a new one this time with firstname.lastname@example.org user and run docker ps.