Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    NFS+LDAP+autofs+pam_mkhomedir problems

    Hello everybody,

    I'm struggling to auto create home dirs when a user login.

    I have the following infrastructure:

    1 - A active ldap and NFS server that exports the /home partition with
    the options rw, sync, fs=0 and is used for authentication.

    2 - A ldap client properly configured that can authenticate in the
    server if his home directory is already created in the nfs server, configured
    with pam_mkhomedir in common-session and autofs.

    My problem is that I want to auto create the home directory in the user first login, but when a try to login in the client with a user without a home directory I got the message: Unable to create directory /home/user. Permission Denied.

    There is any way to export the home directory and create the home folders automatically?

    Thanks in advance,

    Rafael Sachetto

  2. #2
    I have a similar problem only that i get asked a question if i won't to make the / as my home directory. After saying yes i get a blank screen for a while before returning to the login on the client machine.

    I used the Linux Home Networking Quick HOWTO: CH30: Configuring NIS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts