[Samba] Add printer driver difficulty

Martin Zielinski mz at seh.de
Mon Feb 27 09:37:46 GMT 2006


Mark Rutherford wrote:
> Hi everyone.
> 
> I am trying to upload the printer drivers to the Samba domain controller.
> I an logging in as root, and I browse to the printer, select 
> properties.. etc.
> I get as far as seeing the files upload and then I am returned to the 
> printer dialog.
> If I hit either 'Ok' or 'Apply' I get an access denied or 'the operation 
> could not be completed'

Try the "add printer driver wizard". Go into the "printers and faxes" 
folder -> right click -> server properties -> drivers -> add driver.

> 
> I then check the logs for the machine that I am using (in this case 
> log.mark) I do not see anything about it
> I do see the file uploads in the log.
> log.smbd and log.nmbd do not yield any clues either.
> 
> configuratiuon settings:
> 
> [print$]
>     comment = Printer Drivers
>     path = /var/lib/samba/printers
>     admin users = root, Administrator

Try the "printer admin" setting in the global section (even, if it's 
deprecated) - I've never seen the "admin users" directive in the 
"print$" section...
But this should not fix the problem, as root is allways admin.

>     write list = root, @ntadmin
>     force group = root
>     create mask = 0664
>     directory mask = 0775
> 
> and the directory is ..
> drwxr-xr-x  2 root root  48 Feb 24 11:54 drivers

What's with the W32x86 subdirectory? And why's the path to the printer 
drivers (in smb.conf) "/var/lib/samba/printers"? That's the directory 
the driver are written to.

> 
> 
> I also have these set for logging:
>     log level = 2
>     log file = /var/log/samba/log.%m
>     max log size = 50000
> 
> Ideas anyone? Thanks!
> 

The "access denied" error message doesn't explain too much. Several 
errors result in this message.

Bye,

Martin

-- 
Martin Zielinski             mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de


More information about the samba mailing list