Ainsworth, Joshua B.
2005-Feb-11 15:22 UTC
[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on Redhat 7.2. There is a networked laserjet 5000 using a static IP which I can print to successfuly from the linux box, and from the win2k workstations via the queue on the linux box. The weird thing is that, on the win2k worksations, if I double click on the printer icon the status of the printer is reported as "Access denied, unable to connect". Yet it works??? Hello, I've been having this same problem with several of our laserjet 5000s on our network. Did you find the cause of the problem? Any help would be appreciated. Thanks Joshua Ainsworth Colorado Christian University Tech Support jainsworth@ccu.edu 303-963-3444
Gordon Russell
2005-Feb-11 15:34 UTC
[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
Members of the "Domain Admin Group" will not have this issue. You may or may not want to resolve it this way, since it does elevate regular users priveledges. If its a small install of responsible users, it may not matter. see man smb.conf "domain admin group =". g Ainsworth, Joshua B. wrote:> I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on > Redhat > 7.2. > > There is a networked laserjet 5000 using a static IP which I can print > to > successfuly from the linux box, and from the win2k workstations via the > queue > on the linux box. > > The weird thing is that, on the win2k worksations, if I double click on > the > printer icon the status of the printer is reported as > "Access denied, unable to connect". Yet it works??? > > > Hello, I've been having this same problem with several of our laserjet > 5000s on our network. Did you find the cause of the problem? Any help > would be appreciated. Thanks > > > > Joshua Ainsworth > Colorado Christian University > Tech Support > jainsworth@ccu.edu > 303-963-3444 >
David Rankin
2005-Feb-11 16:47 UTC
[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
> I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on > Redhat > 7.2. > > There is a networked laserjet 5000 using a static IP which I can print > to > successfuly from the linux box, and from the win2k workstations via the > queue > on the linux box. > > The weird thing is that, on the win2k worksations, if I double click on > the > printer icon the status of the printer is reported as > "Access denied, unable to connect". Yet it works??? >I have the exact same message in XP with my HP LJ4 on a Suse 9.0 box. All the printing works, but the printer status reports "Access denied, unable to connect", but yes, it works? Solution: IGNORE IT ; -) It is something funky on the XP, win2K side. If you find out what it is, let me know.... -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2/10/2005
Stefan-Michael. Günther (in-put GbR)
2005-Feb-12 12:25 UTC
[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
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 Am Freitag, 11. Februar 2005 16:22 schrieb Ainsworth, Joshua B.:> I have a small Samba 2.2.1a plus Win2k workgroup. Samba is running on > Redhat > 7.2. > > There is a networked laserjet 5000 using a static IP which I can print > to > successfuly from the linux box, and from the win2k workstations via the > queue > on the linux box. > > The weird thing is that, on the win2k worksations, if I double click on > the > printer icon the status of the printer is reported as > "Access denied, unable to connect". Yet it works??? >Stefan -- ***************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Moltkestra?e 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de *****************************************
Bruce Hohl
2005-Feb-14 00:16 UTC
[Samba] Prints ok, but says "Access denied, unable to connect". win2k and samba 2.2.1a
> 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) This parameter applies only to Windows NT/2000 clients. It has no effect on Windows 95/98/ME clients. When serving a printer to Windows NT/2000 clients without first installing a valid printer driver on the Samba host, the client will be required to install a local printer driver. From this point on, the client will treat the print as a local printer and not a network printer connection. This is much the same behavior that will occur when disable spoolss = yes. The differentiating factor is that under normal circumstances, the NT/2000 client will attempt to open the network printer using MS-RPC. The problem is that because the client considers the printer to be local, it will attempt to issue the OpenPrinterEx() call requesting access rights associated with the logged on user. If the user possesses local administator rights but not root privilegde on the Samba host (often the case), the OpenPrinterEx() call will fail. The result is that the client will now display an "Access Denied; Unable to connect" message in the printer queue window (even though jobs may successfully be printed). 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> Am Freitag, 11. Februar 2005 16:22 schrieb Ainsworth, > > Joshua B.: I have a small Samba 2.2.1a plus Win2k > > workgroup. Samba is running on Redhat > > 7.2. > > > > There is a networked laserjet 5000 using a static IP > > which I can print to > > successfuly from the linux box, and from the win2k > > workstations via the queue > > on the linux box. > > > > The weird thing is that, on the win2k worksations, if I > > double click on the > > printer icon the status of the printer is reported as > > "Access denied, unable to connect". Yet it works??? > > > https://lists.samba.org/mailman/listinfo/samba