LPRng, Solaris, & Samba
Steen Jensen
sj at kom.auc.dk
Tue Apr 21 19:35:05 GMT 1998
On Wed, 15 Apr 1998, Craig Huckabee wrote:
huck>
huck>
huck>
huck> I'm curious if anyone else using LPRng, Solaris 2.5.1, and Samba 1.9.18p4
huck> has run into this problem :
huck>
huck> Certain print queues cannot be viewed, no matter what. You can double
huck> click the printer from an NT 4.0 client to display the queue, and it will
huck> either open and close instantly after that, or it will grind for a few
huck> moments with "<Refreshing>" in the queue title bar then close.
huck> This happens with no documents in the queue as well as with a full queue.
huck>
huck> Other queues display fine for a while, then close suddenly for no reason.
huck>
huck> I've made a few runs with a debug level of 10 but nothing gets put in the
huck> logs.
We had the same problem, with printerqueues longer then 12 jobs, and only
on Win95 clients. Jeremy fixed it with this patch (for samba-1.9.18p4):
----------------------cut here------------------------
Index: ipc.c
===================================================================
RCS file: /data/cvs/samba/source/ipc.c,v
retrieving revision 1.73.2.10
diff -w -b -u -r1.73.2.10 ipc.c
--- ipc.c 1998/04/11 00:42:33 1.73.2.10
+++ ipc.c 1998/04/14 17:14:33
@@ -280,8 +280,9 @@
p->subcount = 0;
p->curpos = p->format;
if (i > n) {
+ p->neededlen = i;
i = n = 0;
- p->errcode = NERR_BufTooSmall;
+ p->errcode = ERROR_MORE_DATA;
}
else
p->errcode = NERR_Success;
----------------------end patch-----------------------
Best,
Steen.
huck>
huck> Anybody got a similar setup with NT 4.0 clients ?
huck>
huck> Thanks,
huck> Craig
huck>
huck>
huck> Craig Huckabee E-Mail : huck at cs.wisc.edu
huck> Computer Systems Lab, Computer Sciences Department
huck> University of Wisconsin-Madison
huck> http://www.cs.wisc.edu/~huck/
huck>
huck>
huck> ------------------------------
huck>
More information about the samba
mailing list