Login via SSH fails for a single user: Failed to mount home directory

The error is thrown by the following function in univention-mount-homedir:

                if not mount_nfs_home(host, path, user.pw_dir):
                        syslog.syslog("Failed to mount home directory: %r" % (user.pw_dir, ))
                        sys.exit(1)

and this is the function:

def mount_nfs_home(host, path, mount_point):
        '''mount NFS home share <path> from <host> on <mount_point>'''
        if subprocess.call(('mount', '-t', 'nfs', '%s:%s' % (host, path, ), mount_point, )) == 0:
                with open(MOUNTS_FILE, 'ab') as mounts:
                        mounts.write('%s %d\n' % (mount_point, time.time(), ))
                return True
        return False

It depends how the homedir is configured. Are you using NFS for the homes by intention?

Best Regards,
Dirk Ahrnke