Index: article.xml =================================================================== --- article.xml +++ article.xml @@ -448,6 +448,39 @@ correctly, then it will allow access. Otherwise it will fail. + Make sure that the shell set for the LDAP user is + available in /etc/shells. If not, the + user will not be able to log in. This is especially true when + bash is set as the users shell on + the LDAP server. &os; does not contain + bash in a default installation. + After installing it from ports bash + is available from ports in the path + /usr/local/bin/bash. Check the path to + the users shell on the server using the following + command: + + &prompt.user; getent passwd username + + If the output of the above command shows + /bin/bash in the last column, you have two + choices. The first one is to change the entry on the LDAP + server for this user to + /usr/local/bin/bash. If that is not + possible, then, as the second option, create the following + symlink on the LDAP client so that + bash on &os; will be found in the + correct path: + + &prompt.root; ln -s /usr/local/bin/bash /bin/bash + + Additionally, make sure that + /etc/shells contains entries for both + /usr/local/bin/bash and + /bin/bash. After that, the user should be + able to log into the system with + bash as the users shell. + PAM