Access Denied error when Adding printers using the APW...

Paul Huff phuff at et.byu.edu
Thu Jun 7 14:00:34 GMT 2001


On Thu, 7 Jun 2001, Gerald Carter wrote:

> On Wed, 6 Jun 2001, Paul Huff wrote:
> 
> > Hi! I'm running 2.2.0 on HP-UX 11.0...  Everytime I add a printer
> > share using the Add Printer Wizard, I get an "Access Denied" box that
> > pops up.  I find this quite odd because my "addprinter command" script
> > runs just fine, adds the share's just fine, and I can even see the new
> > share being parsed in the logfile at Debug Level 3.... I was wondering
> > if there are other conditions under which the "ACCESS_DENIED" message
> > is returned to the client besides the share name being invalid...
> > (That's the only condition listed in the smb.conf(5) man page...)...
> > Thanks, -Paul
> 
> Are you connected as root (or a 'printer admin'?)  Do you have
> permissions to copy the driver files to [print$]?
> 
Yes... And yes... Even stranger is the fact that once I hit ok on the
"Access denied" box it sends me back to the Add Printer Wizard, and I
click "finish" again and it goes right through...  No error at all... I've
written my "addprinter command" script to be smart enough to check for a
share as already being there... so I know it's not adding it a second
time...  It almost seems as if it has to do with not reading the config
file fast enough... I tried sending a HUP to the daemons from within the
script, too, just to make sure they re-read them correctly, but that
didn't seem to work either...
-Paul






More information about the samba-technical mailing list