Skip to content
Snippets Groups Projects
Verified Commit 6ca28bad authored by David Beniamine's avatar David Beniamine
Browse files

Several fixes + mount shared

parent 9e864c23
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,12 @@ done ...@@ -23,7 +23,12 @@ done
# remove local users # remove local users
for user in 01-mini 02-super 03-maxi direction prof for user in 01-mini 02-super 03-maxi direction prof
do do
sudo deluser --remove-home $user sudo deluser $user
done done
echo "looking for admin ldap user" echo "looking for admin ldap user"
sudo getent passwd admin sudo getent passwd admin
echo "Fixing handy menu"
for level in 01-mini 02-super 03-maxi
do
sudo sed -i.bak s@/home/$level@~@g /usr/share/handymenu-${level/0[1-3]-/}/hm_utils.py
done
...@@ -13,7 +13,14 @@ ...@@ -13,7 +13,14 @@
<debug enable="0" /> <debug enable="0" />
<!-- Volume definitions --> <!-- Volume definitions -->
<volume user="*" fstype="cifs" server="192.168.234.6" path="%(DOMAIN_USER)" mountpoint="/home/%(DOMAIN_USER)" options="user,sec=ntlm,nodev,nosuid" /> <volume user="*" fstype="cifs" server="192.168.234.6" path="%(DOMAIN_USER)" mountpoint="/home/%(DOMAIN_USER)" />
<volume user="*" fstype="cifs" server="192.168.234.6" path="Profs" mountpoint="/home/Profs" options="gid=5002"/>
<volume user="*" fstype="cifs" server="192.168.234.6" path="Eleves" mountpoint="/home/Eleves" />
<volume user="*" fstype="cifs" server="192.168.234.6" path="Administratifs" mountpoint="/home/Administratifs" options="gid=5003" />
<volume user="*" fstype="cifs" server="192.168.234.6" path="Ecole" mountpoint="/home/Ecole" />
<volume user="*" fstype="cifs" server="192.168.234.6" path="Applis" mountpoint="/home/Applis" />
<volume user="*" fstype="cifs" server="192.168.234.6" path="IPC$" mountpoint="/home/IPC" />
<!-- pam_mount parameters: General tunables --> <!-- pam_mount parameters: General tunables -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment