Siger a écrit:Je souhaiterais pouvoir paramétrer un netlogon spécifique à chaque groupe d'utlisateurs sur SME, plutôt qu'un seul pour tous les utilisateurs. Ceci afin de permettre le mappage des I-bays en fonction des droits.
Je trouve gênant qu'un utilisateur n'ayant aucun droit en lecture sur l'ibay intitulée par exemple 'partage' le voit connecté en lecteur réseau dans le poste de travail.
Quel moyen utiliser ?
Merci de vos réponses,
RV
Essaie ca
Teacher / Admin access to user Homes
Author: elSpike (Patrick Tehvand) <elSpike_AT_tehvand.com> (acknowledgements to rigger at contribs.org)
Contributor:
Release supported: SME 5.x and 6.x
License: GPL
Last updated: Friday, March 5th, 2004 11:54 PM
Problem: You need to give access to users (students) home dirs to certain users (Teachers)
Solution: Follow this HowTo
create a new template fragment in /etc/e-smith/templates-custom/etc/smb/smb.conf
- I call mine 55adminhomes
# vi /etc/e-smith/templates-custom/etc/smb/smb.conf/55adminhomes
add the following to the template:
[admin_shares]
comment = home_directories
path = /home/e-smith/files/users/
valid users = admin root *your_user_name
admin users = admin root *your_username
write list = admin root *your_user_name
public = no
browsable = yes
writable = yes
* you may add as many users as you like here as long as they are separated by a space
then refresh the template:
# /sbin/e-smith/expand-template /etc/smb.conf
then refresh the samba server so your template is active
# /sbin/service smb reload
now you should be able to browse to \\\admin_shares.
The part where I cover my arse
This document is intended as a guide only. I take no responsibility for any damage/loss of data/tearing out of hair that may occur by following its content. But that aside. I did this myself on a live, production server with over 200 users home directories on it. It worked for me. If you want any help with this how-to you can email me elSpike_AT_tehvand.com and I will endevour to answer any questions when I am availible. cheers.