[Samba] samba print server - unable to change "advanced" settings from a client machine 3.5.6

Lukasz Szybalski szybalski at gmail.com
Wed Sep 28 13:40:26 MDT 2011


On Wed, Sep 28, 2011 at 1:03 PM, Lukasz Szybalski <szybalski at gmail.com>wrote:

> Hello,
> I'm having trouble replacing our old print server (debian sarge) with a new
> one.
> When I enable print$ and force user root and give access to nobody, the
> print$ share is working properly. I can create delete, add files etc from a
> windows xp machine.  What I need now is being able to "go to printers and
> faxes, right click on the printer, go to advanced, and click new driver"
> (this would upload the driver to the server. Unfortunately this does not
> work as "advanced" or any other settings are grayed out for me. The config
> files have same settings so I'm not sure what is the problem here. It works
> on my old server but it does not work on a new server. Samba version: 3.5.6
> :
>
> [printers]
>    comment = All Printers
>    browseable = no
>    path = /var/spool/samba
>    guest ok = yes
>    read only = yes
>    create mask = 0700
>
> # Windows clients look for this share name as a source of downloadable
> # printer drivers
> [print$]
>    comment = Printer Drivers
>    path = /var/lib/samba/printers
>    browseable = yes
>    read only = no
>    guest ok = yes
>    write ok = yes
>    write list = nobody, root
>    force user = root
>
>
> Could somebody point me into proper direction here? Am I missing a
> permission? setting? how do I give access to everybody or "nobody" guest
> account to make changes??
>
> Thanks,
> Lucas
>


> Okay, for the newer Samba releases, I think they have made it so you
> need to use the net command or something similar.
>
> In order to get these rights for myself on my setup, I had to run this:
>
> /usr/local/bin/net sam rights grant jax SePrintOperatorPrivilege
>
> Perhaps some variant of this will work for you
>
>
Thanks Jack,
Here is what needed to be done:
http://lists.samba.org/archive/samba/2007-March/129995.html

smbpasswd -a root



net rpc rights list accounts (enter root password)
net rpc rights grant Everyone SePrintOperatorPrivilege

Restart samba
/etc/init.d/samba restart

And we are good to go.

Thank you.
Lucas


More information about the samba mailing list