Christoph Peus
2007-Nov-19 15:28 UTC
[Samba] Howto modify samba printer ACLs without Windows?
Hi all, I would like to limit access to our samba shared printers to certain user groups by commandline without using Windows. Is this possible? Thanks! Christoph
Jim McDonough
2007-Nov-19 16:09 UTC
[Samba] Howto modify samba printer ACLs without Windows?
On Nov 19, 2007 10:27 AM, Christoph Peus <cp@uni-wh.de> wrote:> I would like to limit access to our samba shared printers to certain > user groups by commandline without using Windows. Is this possible?see smbcacls http://us1.samba.org/samba/docs/man/manpages-3/smbcacls.1.html -- Jim McDonough Samba Team jmcd at samba dot org
Christoph Peus
2007-Nov-19 16:38 UTC
[Samba] Re: Howto modify samba printer ACLs without Windows?
Jim McDonough wrote:> On Nov 19, 2007 10:27 AM, Christoph Peus <cp@uni-wh.de> wrote: >> I would like to limit access to our samba shared printers to certain >> user groups by commandline without using Windows. Is this possible? > see smbcacls > > http://us1.samba.org/samba/docs/man/manpages-3/smbcacls.1.htmlThanks, but the manpage says: "The smbcacls program manipulates NT Access Control Lists (ACLs) on SMB file shares." Is there a trick to make this work for printer shares? Christoph
Guido Lorenzutti
2007-Nov-19 22:42 UTC
[Samba] Re: Howto modify samba printer ACLs without Windows?
Christoph Peus wrote:> Jim McDonough wrote: >> On Nov 19, 2007 10:27 AM, Christoph Peus <cp@uni-wh.de> wrote: >>> I would like to limit access to our samba shared printers to certain >>> user groups by commandline without using Windows. Is this possible? >> see smbcacls >> >> http://us1.samba.org/samba/docs/man/manpages-3/smbcacls.1.html > > Thanks, but the manpage says: > > "The smbcacls program manipulates NT Access Control Lists (ACLs) on > SMB file shares." > > Is there a trick to make this work for printer shares? > > Christoph >Yes, you have to create a share per printer... saddly... I have the same problem. I have 400 printers and I need to do the same thing you are trying to do with no luck. Tell me if you find a solution to this.
Necos Secon
2007-Nov-22 08:32 UTC
[Samba] Re: Howto modify samba printer ACLs without Windows?
> Date: Mon, 19 Nov 2007 18:56:10 -0300> From: guido@lorenzutti.com.ar> To: cp@uni-wh.de> Subject: Re: [Samba] Re: Howto modify samba printer ACLs without Windows?> CC: samba@lists.samba.org> > Christoph Peus wrote:> > Jim McDonough wrote:> >> On Nov 19, 2007 10:27 AM, Christoph Peus <cp@uni-wh.de> wrote:> >>> I would like to limit access to our samba shared printers to certain> >>> user groups by commandline without using Windows. Is this possible?> >> see smbcacls> >>> >> http://us1.samba.org/samba/docs/man/manpages-3/smbcacls.1.html> >> > Thanks, but the manpage says:> >> > "The smbcacls program manipulates NT Access Control Lists (ACLs) on> > SMB file shares."> >> > Is there a trick to make this work for printer shares?> >> > Christoph> >> > Yes, you have to create a share per printer... saddly... I have the same> problem.> I have 400 printers and I need to do the same thing you are trying to do> with no luck.> > Tell me if you find a solution to this.> > -- > To unsubscribe from this list go to the following URL and read the> instructions: https://lists.samba.org/mailman/listinfo/sambaHave either of you tried setting the permissions on \\server\Printer? Since this is the way that I see WinXP try to do when I access a printer. _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
Guido Lorenzutti
2007-Nov-22 08:51 UTC
[Samba] Re: Howto modify samba printer ACLs without Windows?
Necos Secon wrote:> > > > Date: Mon, 19 Nov 2007 18:56:10 -0300 > > From: guido@lorenzutti.com.ar > > To: cp@uni-wh.de > > Subject: Re: [Samba] Re: Howto modify samba printer ACLs without > Windows? > > CC: samba@lists.samba.org > > > > Christoph Peus wrote: > > > Jim McDonough wrote: > > >> On Nov 19, 2007 10:27 AM, Christoph Peus <cp@uni-wh.de> wrote: > > >>> I would like to limit access to our samba shared printers to certain > > >>> user groups by commandline without using Windows. Is this possible? > > >> see smbcacls > > >> > > >> http://us1.samba.org/samba/docs/man/manpages-3/smbcacls.1.html > > > > > > Thanks, but the manpage says: > > > > > > "The smbcacls program manipulates NT Access Control Lists (ACLs) on > > > SMB file shares." > > > > > > Is there a trick to make this work for printer shares? > > > > > > Christoph > > > > > > > Yes, you have to create a share per printer... saddly... I have the same > > problem. > > I have 400 printers and I need to do the same thing you are trying to do > > with no luck. > > > > Tell me if you find a solution to this. > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > Have either of you tried setting the permissions on \\server\Printer > <file://%5C%5Cserver%5CPrinter>? Since this is the way that I see > WinXP try to do when I access a printer. > > ------------------------------------------------------------------------ > Connect and share in new ways with Windows Live. Connect now! > <http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007>Yes! I found this! Is great. Know im working on a script to parse the printers.conf from the cups and make the shares in samba. You need a share per printer to assing privilegies like you suggest. Tnxs.
Reasonably Related Threads
- net rpc vampire - cannot login to migrated computer accounts
- winbind nss info = rfc2307 doesn't work when users not in "Users" Container?
- Change print job priority
- kinit works, net join ads fails
- Problems with samba and profile syncing from various windows versions