Bonjour,
Dans ma classe, je dispose d’un réseau sous ETCH (pas de connexion internet, donc je reste à ce niveau… mais ça c’est HS)
J’utilise SAMBA car j’ai encore un vieux coucou sous Win$.
Donc partage des imprimantes et d’un dossier commun
Les élèves utilisent gedit pour saisir leurs productions d’écrits. Par contre quand ils sauvegardent ils tombent dans le $HOME de l’user. J’aimerai que la fenêtre proposée soit automatiquement celle du répertoire partagé.
Saviez vous où paramétré cela
D’avance merci,
Cyrille
bonjour cyrielleb
serait t il possible stp de voir le smb.conf
de mémoire il s’agit juste de changer une variable à un endroit
Certes c’est possible, je le ramène demain de l’école (je suis devant mon bureau mais chez moi …)
Je poste ça demain.
Merci !
Oups très en retard sur ce post !!!
Donc voici un extrait de mon fichier de config samba
########## Printing ##########
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups
# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
; printer admin = @ntadmin
#======================= Share Definitions =======================
wins support = no
[homes]
comment = Home Directories
browseable = no
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700
# Restrict access to home directories
# to the one of the authenticated user
# This might need tweaking when using external authentication schemes
valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
guest ok = yes
writable = no
create mode = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
writable = yes
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes
write list = root, @ntadmin
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[partage]
path = /home/cyrille/partage
comment = partage
available = yes
browseable = yes
public = yes
writable = yes
Tant qu’on y est j’ai 1 autre question
- c’est un réseau entièrement ETCH sauf un poste sous windows (98)
Sur ce poste quand je crée un répertoire dans le partage je n’ai pas les droits pour après y créer un fichier (au sein du répertoire créé). Quelle option faut il passer dans le fichier de conf pour y remédier
Merci Cyrille