[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a

Stefan-Michael. Guenther (in-put GbR) S.Guenther at in-put.de
Mon Feb 14 16:32:29 GMT 2005


Hi,

Am Montag, 14. Februar 2005 01:17 schrieb Bruce Hohl:
> > Hi,
> >
> > I had the same problem and solved it by adding
> >
> > use client driver = yes
> >
> > to the [printers] section.
> > I'm not quite sure whether this option is available in
> > Samba 2.2.1a
>
> Loading the printer drivers onto the server will also
> eliminate these error messages ... at leaset in version
> 3.0.9.
>
> However, see the following from man smb.conf:
>
> use client driver (S)
>
>
> If this parameter is enabled for a printer, then any attempt
> to open the  printer with the PRINTER_ACCESS_ADMINISTER
> right is mapped to PRINTER_ACCESS_USE instead. Thus allowing
> the OpenPrinterEx() call to succeed. This  parameter  MUST
> not  be able enabled on a print share which has valid print
> driver installed on the Samba server.
>
> Default: use client driver = no
>
I experienced the error message on a samba 3.0.10, with installed printer 
drivers. The windows client had already used this driver for installation and 
then got the error message.
I then set 
	use client driver = yes
and the error message disappeared. Since I read the man page, especially the 
last paragraph, I used another Win2k-client to see, whether it is still 
possible to use the printer drivers - it was. If I understand this last 
paragraph correctly, a value of "yes" would cause the client to look for the 
drivers locally, but as far as I saw, this did not happen.

Stefan
-- 

*****************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
*****************************************


More information about the samba mailing list