NethServer Version: 7.6.1810
Module: not sure
Hi,
A year back or so I followed this instruction to join xubuntu machines to my nethserver AD, with home folders on the nethserver. Now the mount of the home folders have stopped working. The computer is still joined to the domain and it is possible to logon, but home folders is no longer mounted in a correct way. And the logon is stuck for a minute or so until I have a prompt.
Output when switching to an AD user below:
$ su user
(pam_mount.c:365): pam_mount 2.16: entering auth stage
(pam_mount.c:568): pam_mount 2.16: entering session stage
(mount.c:262): Mount info: globalconf, user=user@my.domain fstab=0 ssh=0
(mount.c:659): Password will be sent to helper as-is.
command: āmountā ā-tā ācifsā ā//server.my.domain/user@my.domainā ā/home/user@my.domainā ā-oā āusername=user@my.domain,uid=123456789,gid=123456789,nosuid,nodev,vers=1.0ā
(mount.c:72): Messages from underlying mount program:
(mount.c:76): mount error(11): Resource temporarily unavailable
(mount.c:76): Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
(pam_mount.c:522): mount of user@my.domain failed
command: āpmvarrunā ā-uā āuser@my.domainā ā-oā ā1ā
Invalid user name
(pam_mount.c:439): error reading login count from pmvarrun
(pam_mount.c:660): done opening session (ret=0)
The client is a xubuntu 18.10.
Perhaps I should add that if I remove
override_homedir = /home/%u@%d
override_shell = /bin/bash
from/etc/sssd/sssd.conf
the mount is completed correct at /home/user
but at login the command prompt starts in folder /var/lib/nethserver/home/user
instead of /home/user
Also, if I removed vers=1.0
from
<volume user="*" sgrp="domain users@mydomain.ad" fstype="cifs" server="neth.mydomain.ad" path="%(DOMAIN_USER)" mountpoint="/home/%(DOMAIN_USER)" options="nosuid,nodev,vers=1.0" />
in /etc/security/pam_mount.conf.xml
the logon is done immediately without being stuck in a minute or so.
Any suggestions for where I shall continue trouble shooting?
Thanks in advance!
/Mathias