Hello , I have a LTSP server on your network running (Ubuntu 14).
On the same network have a file server running Samba .
When the user logs LTSP I run the following script to map a folder on the file server in your home :
Code:
#!/bin/bash
sudo umount /home/user/public
sudo mount -t cifs -o username=user,password=123,uid=user,gid=user //192.168.0.1/public /home/user/public
My problem is that this script sometimes does not work often need to log out and log in again to run the mapping.
Can anyone tell the reason that the mapping does not work often ?
note: I have this script running on various users, and each user has folders other than the public.