|03:08||vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)|
|03:26||lucascastro has left IRC (firstname.lastname@example.org, Ping timeout: 272 seconds)|
|05:31||quinox has left IRC (email@example.com, Quit: WeeChat 3.4)|
|05:34||quinox has joined IRC (firstname.lastname@example.org)|
|07:06||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|10:24||ted852 has joined IRC (email@example.com)|
Hi there - i m having problems mounting a nas/fileserver.
pxe boot and logging into a chrootless image (ubuntu 20.04) via ldap i got already working.
Now i wanted to mount a qnap-nas on startup (authentication for the nas is also via ldap = same credentials as when logging in for each user). If i got it right this can be done via /etc/ltsp.conf. Therefore i added FSTAB_HOME="192.168.5.10:/ /mnt/fileserver nfs defaults,nolock 0 0" to that file under the [clients] section. The mount works - but
not as intended. It shows the public folder on the NAS - which is viewable by anyone. So this may be some authentication problem. Is there a way to add a credentials placeholder to ltsp - which uses the same username/password as the user logging in via ldap uses - or something like that?
Try sshfs user@nas: dir, with no path
Does it mount the public folder instead of the user folder?
no the mount seems to be one "folder" above public - it shows the public folder/isnt already in that folder.
You need to fix that part in the nas settings
: is supposed to be the user home dir
Otherwise you need to patch the pamltsp sshfs call
actually i want it like that - the user home directory is /homes on the nas -> i want to mount the upper fileserver level - which i currently acces via smb with nautilus (smb://firstname.lastname@example.org/ )
so that the users mainly work on the fileserver
also tbh i am a newbie when it comes to mounting
Are you using smb or sshfs?
LTSP uses sshfs
the smb example was when i access it via file explorer - not ltsp related. its not the ideal solution.
Did you test the sshfs command I mentioned?
not successully so far
OK when you try it tell me the output
k. but this might be a while ;) - as i said: newbie. thx so far. i ll be back
|12:37||lucascastro has joined IRC (email@example.com)|
|13:27||ted852 has left IRC (firstname.lastname@example.org, Quit: Client closed)|
|13:37||Faith has joined IRC (Faith!~Faith@user/faith)|
|18:42||lucascastro has left IRC (email@example.com, Read error: Connection reset by peer)|
|18:43||lucascastro has joined IRC (firstname.lastname@example.org)|
|19:13||lucascastro has left IRC (email@example.com, Remote host closed the connection)|
|19:17||lucascastro has joined IRC (firstname.lastname@example.org)|
|20:58||Faith has left IRC (Faith!~Faith@user/faith, Quit: Leaving)|
|22:04||Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)|
|22:04||Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)|
|22:10||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|