[OpenAFS] OpenAFS client 1.7.201 and later triggers printing
of smiley faces on all printers shared via Samba
Jeffrey Altman
jaltman@your-file-system.com
Thu, 12 Apr 2012 10:08:38 -0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD731BFB69C7387F45EFFAB68
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Michael:
The problem is triggered by the AFS Context Menu handler.
When testing whether or not a path is an AFS path, the AFS Context Menu
handler issues an AFS pioctl operation on the path. The pioctl process i=
s:
* Request that an "existing" file be opened on the device
\\server\device-name\_._AFS_IOCTL_._
* Write the request to that file
* Read the response from that file
* Close the file
The pages are being printed because the printer device is permitting the
_._AFS_IOCTL_._ to be opened and treating the data that is written to it
as a print job.
The SMB server in the printers should not be opening a file that does
not exist when the caller is explicitly asking that only an existing
file be opened. The SMB server in the printer could be a version of
Samba or some other home grown implementation. Regardless, it is buggy.
Of course, knowing the cause does not solve your problem which is that
you want the paper to stop being wasted. The question is "who is going
to research a solution and implement it?" I suspect you want that to
be me. :-) That is fine but I'm at the point where I want to be paid
for my efforts.
Jeffrey Altman
On 4/12/2012 8:02 AM, Michael Richter wrote:
> Hi, just wanted to say, this problem is still present.
>=20
> I updated all of our computers to 1.7.08 and now we have large paper
> wastage :)
>=20
> This is not a samba problem. We use mainly OpenAFS 1.7.08 32bit on
> Windows XP Prof SP3 (german). Our printers (different Kyocera, HP and
> Konica Minolta models) are all connected via two Windows Server 2003
> print servers.
>=20
> Sometimes the printers do not print the smilies. Then there are two
> print jobs in chain (screenshot attached). These jobs also occur on
> printers which are not connected to the owners computer... very strange=
=2E
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen
> Michael Richter
--------------enigD731BFB69C7387F45EFFAB68
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
iQEcBAEBAgAGBQJPhuHoAAoJENxm1CNJffh4T9cIANNOlnfI1c8/ISVN+jWcXc+R
h+KGFo45zEFqFSDs03Jd1jbatmb+kpNkOxpdd2TUf0yrJ0sPaXIeDJ4eQo+i9MX4
qrPRsgV+xV49NJcsj/1WE9vxryNqsyQlbUqErh9K0I4H+9KvwMsiPGl12BkBg3Ts
BNY1Tvhi7SoByG1+pM9aTWsUpZ644pwT6PFhd0Z4wRFJoKDXH09KbSPZ5GFzviiG
DFf2+wiw+UGUMa1JnZM/f3doUj6oq2yGCbMy6/OIQdmwwMqZF1VogI/J0tkn8ApY
5xISMmH9DE/2s8gHlLEvLZRE9pJ2P+IbDXPBD7j/cbeolS9GaWL0cbtkOataeNQ=
=HoMB
-----END PGP SIGNATURE-----
--------------enigD731BFB69C7387F45EFFAB68--