Hi, after coming back and rebooting my system after the summer break i have encountered another problem. Trying to resolve it I did the following...
Okay. Two debugging paths needs to get checked: a) pam and b) basic mount capabilities
mount -t cifs //192.168.0.4/exampleusername /mnt -o username=exampleusername
You'll get a password prompt. On success /mnt should contain that users $HOME. On error: what is the error message?
Doing this with my test1 account results in a successful mount in /mnt
However, I have a new user I have just added (PAM is enabled in Zentyal)
root@lovelace:~# mount -t cifs //192.168.0.4/AdamM2013 /mnt -o username=AdamM2013
Password:
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
If I look in /home on my local machine I see:
root@lovelace:~# ls /home
localtest lovelace_admin test1
root@lovelace:~#
There is no folder being made for AdamM2013
Additionally, ssh'ing into the local machine:
I get the old "Could not chdir to home directory /home/AdamM2013: No such file or directory" error message.
However this time I do have Samba enabled and my PAM mount xml file is correct.
I can do:
root@lovelace:~# id AdamM2013
uid=51134(AdamM2013) gid=1901(__USERS__) groups=51108(SRCompSci2013),1901(__USERS__)
...too.
Bit confused, any more pointers for debugging would be helpful.
One more thing, although I don’t think it's related, I get a "waiting for network configuration ... waiting 60 more seconds for network configuration" message when I boot the local machine. Cant see what is causing this.