Andreas Klemm on Tue, 9 Jan 2001 16:01:30 +0100 (CET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

samba remote printing fix for apsfilter 6.0.0 available


Dear apsfilter customers,

just wanted to let you know, that a bug slipped into apsfilter v6.0
concerning windows remote printing using samba (2.0.7).

The variable containing the windows password for remote printing
using sambas smbclient utility has been mis-spelled in SETUP
(for test printing) and in bin/apsfilter (for remote-printing).

The bug is now fixed in apsfilter v 6.0 and the developer version.

Before applying the patch, please check your smbclient utilities
manual page (man smbclient) if it also names this variable
PASSWD and not PASSWORD, just to be sure, that PASSWD is correct
for your samba version (it might have changed over releases).

There are several ways to fix that:

1) Download official apsfilter diff from download page and
   apply the diff to apsfilter sources and reinstall apsfilter
   or patch the installed apsfilter using this diff (as you prefer)
   The official patch additionally contains a little patch, that
   echoes the right apsfilter version into the logfile, when debugging
   is turned on. It would be fine, to have that fixed for bugreports,
   but its not essential for apsfilter to run ...

2) patch it manuall using an editor:
   simply replace PASSWORD with PASSWD (one time) in:
	$PREFIX/share/apsfilter/SETUP and
	$PREFIX/share/apsfilter/bin/apsfilter

3) like 2) but let perl5 do the work for you, assuming PREFIX=/usr/local:
    perl5 -pi -e "s|PASSWORD|PASSWD|" /usr/local/share/apsfilter/SETUP
    perl5 -pi -e "s|PASSWORD|PASSWD|" /usr/local/share/apsfilter/bin/apsfilter

Best regards

	Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage                  http://www.apsfilter.org
Support over mailing-lists (only!)  http://www.apsfilter.org/support
Mailing-list archive                http://www.apsfilter.org/Lists-Archives


his is the moderated mailing list apsfilter-announce.
The list contains announcements of new apsfilter capabilities,
important events and project milestones.
See also the apsfilter Web pages at http://people.FreeBSD.org/~andreas