Thomas Reifferscheid
2002-Aug-15 02:08 UTC
[Samba] WERR_INSUFFICIENT_BUFFER if more than 21 printers on enumprinters
If I have more then 21 printers in smb.conf I get [2002/08/15 12:30:50, 5] rpc_parse/parse_prs.c:prs_werror(618) 000c status: WERR_INSUFFICIENT_BUFFER with the rpc "enumprinters". What the heck is this ? I did check samba.mbox, samba-technical.mbox and groups.google.com yet, but as far as my grep brings me, without success. Other problems I'm fighting with is: - removing printerdrivers from a remote maschine (let's say XP) the button "remove driver" isnt allowed to be pressed. - When combining a printer with a driver some XP maschines upload the AGFA-AccuSet 52.2 Driver (the really first one in the drivers list on the XP maschine)! Really cool. On some other maschines XP recognizes the uploaded driver for the printer and successfully links the driver to the printer. sigh!
Thomas Reifferscheid
2002-Aug-15 06:36 UTC
[Samba] Re: WERR_INSUFFICIENT_BUFFER if more than 21 printers on enumprinters
When I increase #define MAX_PDU_FRAG_LEN in include/rpc_dce.h it works for more than 21 printers. HTH Thomas Thomas Reifferscheid wrote:> What the heck is this ?
Tim Potter
2002-Aug-15 14:48 UTC
[Samba] Re: WERR_INSUFFICIENT_BUFFER if more than 21 printers on enumprinters
On Thu, Aug 15, 2002 at 01:06:40PM +0200, Thomas Reifferscheid wrote:> If I have more then 21 printers in smb.conf I get > > [2002/08/15 12:30:50, 5] rpc_parse/parse_prs.c:prs_werror(618) > 000c status: WERR_INSUFFICIENT_BUFFER > > > with the rpc "enumprinters". > > What the heck is this ?We're probably doing something silly when there are more than 21 printers to return when a client asks to enumerate them. It's a bit hard to tell without some more context. Can you say which version of Samba you are using, which client etc? This would help with your other problems too. Are you able to provide log files, network traces etc if necessary? Tim.