CVS update: samba/source/include
Gerald (Jerry) Carter
jerry at samba.org
Tue Nov 20 05:40:01 GMT 2001
On Mon, 19 Nov 2001, Jeremy Allison wrote:
> On Mon, Nov 19, 2001 at 10:22:10PM -0800, Tim Potter wrote:
> >
> > Date: Tue Nov 20 17:22:10 2001
> > Author: tpot
> >
> > Update of /data/cvs/samba/source/include
> > In directory va:/tmp/cvs-serv3369/include
> >
> > Modified Files:
> > Tag: APPLIANCE_HEAD
> > smb.h
> > Log Message:
> > Added printer_admin boolean to connection struct. The value of this
> > is calculated once at service connection time rather than every time
> > a print access check is made.
>
> I'm not sure you can legitimately do this.
> The check should be made per vuid, not on
> service connection.
Unless we make this a global parameter. The problem with
"printer admin" is that is applies to 2 different things:
(1) a printer, (2) the print server. The only way to enfore
a "printer admin" in situation #2 is to place the parameter in
the [global] section as a service default.
In APPLIANCE_HEAD, the printer admin is always defined in
[global].
cheers, jerry
---------------------------------------------------------------------
www.samba.org SAMBA Team jerry_at_samba.org
www.plainjoe.org jerry_at_plainjoe.org
http://www.hp.com Hewlett-Packard gerald_carter_at_hp.com
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba-technical
mailing list