[Samba] Samba print permissions for specific users/groups wanted

smbmail smbmail at gerwyb.org
Mon Jan 27 23:07:00 GMT 2003


I found something on the internet.
In older versions each printer was a separate share and in smb.conf this is
in fact still the case.
Each printer has its own section [lp1], etc
If you just put 'valid users = ' in the printer's section, this should still
be working.
Users can still print to a printer they are not allowed to print to, but
nothing will happen. They don't even get a message.
Why they left the valid users option out of  SWAT I don't know.

Gerben


----- Original Message -----
From: "Joel Hammer" <Joel at HammersHome.com>
To: "smbmail" <smbmail at gerwyb.org>; <samba at lists.samba.org>
Sent: Monday, January 27, 2003 11:43 PM
Subject: Re: [Samba] Samba print permissions for specific users/groups
wanted


> I believe a printer is a share. I don't think this would work for the
> special [printers] section. The smb.conf would need a separate share
> definition for each printer.
> Joel
>
> On Mon, Jan 27, 2003 at 11:40:16PM +0100, smbmail wrote:
> > Yes but this goes for shares, not for printers
> >
> > ----- Original Message -----
> > From: "Joel Hammer" <Joel at HammersHome.com>
> > To: "smbmail" <smbmail at gerwyb.org>; <samba at lists.samba.org>
> > Sent: Monday, January 27, 2003 11:35 PM
> > Subject: Re: [Samba] Samba print permissions for specific users/groups
> > wanted
> >
> >
> > > This is valid users, not hosts allow.
> > > Joel
> > > On Mon, Jan 27, 2003 at 11:33:55PM +0100, smbmail wrote:
> > > >
> > > > As far as I know you can only deny specific IP-ranges with hosts
deny
> > (or
> > > > allow with hosts allow)
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Joel Hammer" <Joel at HammersHome.com>
> > > > To: "Thomas Eisenzopf" <tez at exima.at>; <samba at lists.samba.org>
> > > > Sent: Monday, January 27, 2003 11:18 PM
> > > > Subject: Re: [Samba] Samba print permissions for specific
users/groups
> > > > wanted
> > > >
> > > >
> > > > > man smb.conf
> > > > > /  valid users
> > > > >
> > > > > You may have to set up individual shares for each printer, not
sure.
> > > > >
> > > > > Joel
> > > > > On Mon, Jan 27, 2003 at 02:06:11PM +0100, Thomas Eisenzopf wrote:
> > > > > > Hi!
> > > > > >
> > > > > > I installed a samba server (2.2.7) with a NT domain and printing
> > support
> > > > > > without problems, everything is working fine. Client OS is
Windows
> > 2000.
> > > > > >
> > > > > > Now I want to give specific permissions to the printers, for
example
> > > > group
> > > > > > "users1" has permission to print to "lp1", group "users2" to
"lp2".
> > > > Everyone
> > > > > > is allowed to print to "lp3", but not to "lp1" and "lp2".
> > > > > >
> > > > > > I tried to figure out, how to manage this. As far as I know I
have
> > to
> > > > use
> > > > > > Windows 2000 ACLs from the Windows 2000 user interface, and no
samba
> > > > > > specific settings. But always everyone can print to every
printer. I
> > > > also
> > > > > > searched usenet with google, but didn´t succeed.
> > > > > >
> > > > > > Any help is appreciated!
> > > > > >
> > > > > > Best regards,
> > > > > > Thomas.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe from this list go to the following URL and read
the
> > > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>




More information about the samba mailing list