The automount home directory of the users I created via Redhat identity management web is not working.

Posted on

Hi there, following the steps in this blog the automount home directory works great.

https://kevinstewart.io/posts/automount-home-directories-with-freeipa/

But for some reason automount is not working when I create a user via Redhat IDM web, what could be the reason for this? I need your help on this issue.

As stated in the blog, if I create a user as follows

ipa user-add --first McCoy --last Pauley --password --shell=/bin/bash

No matter which server I log in from with my user, it always maps to my nfs automount home directory and my server.

But if I create a user via Redhat IDM, my goal is to manage the operations related to the users via redhat idm web in order to make it easier. This time the user is created. But I get the following error.

Could not chdir to home directory /home/ldapuser01: No such file or directory
/usr/bin/xauth: error in locking authority file /home/ldapuser01/.Xauthority
-bash-4.2$ ls

the water caught my attention. When I create a user with the command interface, my user works fine from the redhat idm web interface
in the login shell it says bin/bash.

but in the user login shell that I created from my redhat idm web interface and got an error, it says bin/sh.

How do I ensure that the users I create through the Redhat idm web interface automatically create the home directory on my nfs server.

thankyou for support.

Responses