I've set up NFS and LDAP on an Ubuntu server. The client is configured to mount the home directory (NFS via Autofs) when a user logs in, which all runs perfectly well. However, autofs also tries to mount the home directory from the server when a local user logs in, and thus the local user becomes homeless.
Is there any way for autofs to detect local users or any other workaround?