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

2005-02-14 Thread Stefan-Michael. Guenther (in-put GbR)
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
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-02-13 Thread 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)

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-02-12 Thread Stefan-Michael. Günther (in-put GbR)
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
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-02-11 Thread 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???


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
[EMAIL PROTECTED]
303-963-3444

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-02-11 Thread Gordon Russell
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
[EMAIL PROTECTED]
303-963-3444
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-02-11 Thread David Rankin
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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2002-04-29 Thread halljay

Randy,

You will need to add use client driver = yes to the smb.conf file, or install 
the printer drivers so the W2K workstations can download the driver from the 
sever.

Hope this helps.



Jay

 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???
 
 Any ideas.
 
 Here's part of the smb.conf:
 [public]
path = /usr/local/share/public
public = yes
only guest = yes
writable = yes
printable = no
 
 [homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
 # If you want users samba doesn't recognize to be mapped to a guest user
map to guest = bad user
 
 # A restricted directory for accounting files.
 [accounting]
comment = Accounting Share
path = /usr/local/share/accounting
valid users = kferrone,rliu,ldelvecchio
public = no
writable = yes
printable = no
 
 # A administrative logon for backups
 [private]
 comment = SFB Private Directories
 path = /home
 valid users = jbailey
 public = no
 writable = no
 printable =no
 browseable=no
 
 
 # NOTE: If you have a BSD-style print system there is no need to
 # specifically define each individual printer
 [printers]
 comment = All Printers
 path = /var/spool/samba
 browseable = yes
 valid users = %S
 # Set public = yes to allow user 'guest account' to print
 guest ok = yes
 writable = no
 printable = yes
 public = yes
 
 snip
 
 
 Thanks for any suggestions you may have.
 
 /R
 
 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-04-29 Thread Randy S


--- [EMAIL PROTECTED] wrote:
 Randy,
 You will need to add use client driver = yes to the smb.conf file, or
install.

I added 'use client driver = yes ' to the printers section of smb.conf. It
didn't seem to help.

Any other ideas?

/R

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-04-29 Thread Van Sickler, Jim

see smb.conf(5), and disable spoolss=yes

Jim

 -Original Message-
 From: Randy S [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 29, 2002 1:49 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Samba] Prints ok, but says Access denied, unable to
 connect. win2k and samba 2.2.1a
 
 
 
 --- [EMAIL PROTECTED] wrote:
  Randy,
  You will need to add use client driver = yes to the 
 smb.conf file, or
 install.
 
 I added 'use client driver = yes ' to the printers section of 
 smb.conf. It
 didn't seem to help.
 
 Any other ideas?
 
 /R
 
 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba