Re: [Samba] Permissions in printer share

2011-11-09 Thread Orlando Irrazabal


El 07/11/2011 20:14, Christ Schlacta escribió:

On 11/7/2011 14:59, TAKAHASHI Motonobu wrote:

From: Dale Schroederd...@briannassaladdressing.com
Date: Mon, 07 Nov 2011 15:30:05 -0600


On 11/07/2011 2:13 PM, Orlando Irrazabal wrote:

Hi everyone,

I'm trying to migrate my print server to Samba. All is working well
except security. In my domain, some groups are able to print to
certain printers and others to other printers. I tried with write
list = @group but it doesn't worked. How do I configure the
permissions on samba's printers, for a user group can print to only
certain printers?

(snip)


Try replacing write list = @group1
with valid users = @group1

Dale

If you use Winbind, you have to specify @domain\group style by
default. Also you can configure printers' permissions by ACL via
Windows.

---
TAKAHASHI Motonobumo...@samba.gr.jp
I have a similar setup and use the windows printer permissions ACL.  
it works perfectly now, no complaints.  If you experience any issues, 
make certain your samba is up to date, as some combinations of 
old-samba and printer have issues.


Many thanks to all, with ACL it works very well.

Orlando
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Permissions in printer share

2011-11-07 Thread Orlando Irrazabal

Hi everyone,


I'm trying to migrate my print server to Samba. All is working well 
except security. In my domain, some groups are able to print to certain 
printers and others to other printers. I tried with write list = 
@group but it doesn't worked. How do I configure the permissions on 
samba's printers, for a user group can print to only certain printers?



Here is my smb.conf file:

[global]
workgroup = MYDOMAIN
server string = Samba Server
security = DOMAIN
password server = PASS1 PASS2
log file = /var/log/samba/log.%m
max log size = 50
idmap uid = 15000-2
idmap gid = 15000-2
template homedir = /homes/%D/%U
template shell = /sbin/nologin
winbind separator = +
winbind enum users = Yes
winbind enum groups = Yes
hosts allow = 127., 192.168.23.
cups options = raw

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[prnhpp3015]
comment = HP LaserJet P3015
path = /var/spool/samba/rcprnhpp3015
write list = @group1
printable = Yes




Thanks in advance


Orlando
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba