Koozali.org: home of the SME Server

again pdf & samba

andrez

again pdf & samba
« on: February 08, 2003, 06:14:13 PM »
[global]

add user script = /sbin/e-smith/signal-event machine-account-create '%u'

bind interfaces only = no

case sensitive = no
character set = ISO8859-1
client code page = 850


dns proxy = no

domain admin group = admin

domain logons = yes

domain master = yes

encrypt passwords = yes

guest account = public

guest ok = no
hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0


interfaces = 127.0.0.1 192.168.1.254/255.255.255.0

level2 oplocks = false

local master = yes

log file = /var/log/samba/log.%m


logon script = netlogon.bat

map to guest = never

max log size = 50

name resolve order = wins lmhosts bcast

netbios name = easyshare

oplocks = false
os level = 65


pid directory = /var/run

preferred master = yes

preserve case = yes

printer admin = admin



security = user
server string = Mitel Networks SME Server
short preserve case = yes
smb passwd file = /etc/smbpasswd

socket options = TCP_NODELAY

strict locking = no

unix password sync = Yes
pam password change = Yes


wins support = yes

workgroup = koine
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s

[homes]
comment = Home directory
browseable = no
guest ok = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /home/e-smith/files/users/%S/home

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Primary]
comment = Primary site
path = /home/e-smith/files/primary
read only = no
writable = yes
printable = no
create mode = 0640
directory mode = 02750
force create mode = 0640
force directory mode = 02750

[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
writable = yes
browseable = no


[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = yes
browsable = yes
writable = yes

[pdfdrop]
comment = pdf
path = /home/e-smith/files/ibays/pdfdrop/files
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0666

[pdf]
   path = /tmp
   printable = yes
   guest ok = yes
   print command = /usr/bin/printpdf %s

   ; There is no need to support listing or removing print jobs,
   ; since the server begins to process them as soon as they arrive.
   ; So, we set the lpq (list queued jobs) and lprm (remove jobs in queue)
   ; commands to be empty.
   lpq command =
   lprm command =
 

this is my samba conf
why no make nothing in /tmp when i print ?! :(((
i are stupid ???

David Hardy

Re: again pdf & samba
« Reply #1 on: February 13, 2003, 12:03:59 AM »
Its a little problem in the samba file:

[pdf]
   path = /tmp
   printable = yes
   guest ok = yes
   print command = /usr/bin/printpdf '%s'

   ; There is no need to support listing or removing print jobs,
   ; since the server begins to process them as soon as they arrive.
   ; So, we set the lpq (list queued jobs) and lprm (remove jobs in queue)
   ; commands to be empty.
   lpq command =
   lprm command =

Note the '%s' with the ' '.

HTH

David.