[Samba] print command
spiekey
spiekey at hotmail.com
Sat Apr 6 03:14:02 GMT 2002
Hello!
Situation:
I have hylafax and Sambafax installed, and i want to send a error popup to
the win clients if the fax fails, for that i have to run a file when somone
is faxing/printing.
If i put the print command in there, i can´t print anymore, if i comment it
out, it works! Any Ideas why?
This is my whole conf file:
#;
; /etc/samba/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = workgroup
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
printer admin = @ntadmin
printer driver file = /usr/local/samba/printers
log file = /var/log/samba.%h
; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10
encrypt passwords = yes
# printing = bsd
printcap name = /etc/printcap
# load printers = yes
socket options = TCP_NODELAY
map to guest = Bad User
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = no
wins server = 192.168.10.1
write list = @ntadmin,root
[printers]
comment = All Printers
path = /var/spool/lpd/lp
browseable = no
printable = yes
public = yes
writable = no
create mode = 0700
directory = /tmp
print command = /var/spool/fax/bin/faxclient
[share]
comment = %m
browseable = yes
public = yes
readonly = no
creat mode = 0755
directory = /share
[Faxe]
comment = Angenommene Faxe
browseable = yes
public = yes
readonly = no
creat mode = 0755
directory = /var/spool/fax/recvq/
Thanks a lot!
Mario Ohnewald
More information about the samba
mailing list