[Linuxtrent] Re: Print server in ambienti eterogenei

  • From: Francesco Berghi <francescoberghi@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Tue, 26 Oct 2010 20:54:24 +0200

A me cosi ha funzionato senza problemi

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   writeable = no
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'Domain Admins' with the name of the group
your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
   write list = @"Domain Admins"


Occhio solo alla riga write list = @"Domain Admins"
Sostituisci Domain Admins con il nome del gruppo che ti serve. Se al
posto di un gruppo vuoi utilizzare un singolo utente basta togliere la @
ad esempio

    write list = "utentechevuoitu"

In questo modo l'utente o il gruppo che indichi avrà accesso in
scrittura alla condivisione (quindi potrà caricare i driver --> bottone
abilitato su client windows).
Attenzione poi anche ai permessi della cartella /var/lib/samba/printers
e delle sue sottocartelle. Il gruppo o l'utente/i che indichi in write
list dovrà avere accesso in scrittura. Gli utenti che andranno a
scaricare i driver devono avere il permesso di lettura.
I permessi sul file system hanno priorità rispetto ai permessi che
imposti in samba, per cui se in smb.conf metti 

write list = "utentechevuoitu" 

ma poi "utentechevuoitu" non ha il permesso di scrittura
su /var/lib/samba/printers e relative sotto cartelle il tutto non
funziona.





-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: