[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
#print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
# print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
# If you install drivers on the server, you will want to uncomment this so
# clients request the driver
use client driver = yes
[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
# Settings suitable for Winbind:
# write list = @"Domain Admins" root
# force group = +@"Domain Admins"
# Mon smb.conf
Posté par lord1366 . En réponse au message Reseau Samba Windows. Évalué à 1.
[global]
workgroup = Winlux
share mode = yes
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
#socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#map to guest = bad user
encrypt passwords = yes
hosts allow = 192.168.1
printcap cache time = 60
dns proxy = no
netbios name = ServDrake
server string = Samba
printing = cups
dos charset = 850
#os level = 20
printcap name = cups
create mode = 777
security = share
unix charset = ISO8859-1
max log size = 50
directory mode = 777
browseable = yes
printcap = /etc/printcap
public = yes
[homes]
comment = Home Directories
browseable = yes
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
#print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
# print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
# If you install drivers on the server, you will want to uncomment this so
# clients request the driver
use client driver = yes
[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
# Settings suitable for Winbind:
# write list = @"Domain Admins" root
# force group = +@"Domain Admins"
[pdf-gen]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
[Peersmb]
path = /home/Peer
browseable = yes
writeable = yes
valid users = fabrice root
create mask = 0777
[COMMUN]
valid users = fabrice root
create mask = 0777
path = /home/SAMBA/COMMUN
directory mode = 777
browseable = yes
writeable = yes