Koozali.org: home of the SME Server

upgrading Samba to 3.X

Robert

upgrading Samba to 3.X
« Reply #30 on: January 26, 2005, 10:29:42 PM »
I would still send Greg the bug reports by email (in two separate messages, one per bug). That will make the bugs easier to track for you and Greg.

BTW, have you tried the alternative workaround with all the specified print commands and no "printing = something"? I'm considering packaging that workaround as an optional patch in e-smith-cups.

dwater

upgrading Samba to 3.X
« Reply #31 on: January 27, 2005, 10:11:10 AM »
Quote from: "Robert"
...but a better one might even be to:

1. keep the "printcap name = /etc/printcap" bit

2. put this in /etc/e-smith/templates-custom/etc/smb.conf/20printing:

print command = /usr/bin/lp -d '%p' %s; rm %s
lpq command = /usr/bin/lpstat -o '%p'
lprm command = /usr/bin/cancel '%p-%j'
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = /usr/bin/disable '%p'
queueresume command = /usr/bin/enable '%p'

That means you have no "printing = something" parameter, so no broken defaults/overrides to worry about.

3. Expand template and reload samba.


For the record, yes, the above also works fine.

Robert

upgrading Samba to 3.X
« Reply #32 on: February 03, 2005, 08:50:52 AM »
Quote from: "dwater"
Quote from: "Robert"
...but a better one might even be to:

1. keep the "printcap name = /etc/printcap" bit

2. put this in /etc/e-smith/templates-custom/etc/smb.conf/20printing:

print command = /usr/bin/lp -d '%p' %s; rm %s
lpq command = /usr/bin/lpstat -o '%p'
lprm command = /usr/bin/cancel '%p-%j'
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = /usr/bin/disable '%p'
queueresume command = /usr/bin/enable '%p'

That means you have no "printing = something" parameter, so no broken defaults/overrides to worry about.

3. Expand template and reload samba.


For the record, yes, the above also works fine.


Thanks for confirming. I've added those lines as an optional patch to e-smith-cups. I've put a build of e-smith-cups with the patch applied in http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/ . That build should work for SME 6.x with samba 3.