CVS update: samba/source/include
Tim Potter
tpot at samba.org
Tue Nov 20 16:44:07 GMT 2001
On Tue, Nov 20, 2001 at 07:38:27AM -0600, Gerald (Jerry) Carter wrote:
> > > 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].
OK I can see why this is the case, but I am still confused as to why
it can't be done in make_connection() which in this case is called
from reply_tconx. Maybe someone can explain it to me slowly using
small words. (-:
I might test out making the parameter global (does it really make sense
to be local anyway?) and see how that goes.
Tim.
More information about the samba-technical
mailing list