Hello list last week we upgraded a 2.2 samba installation to the latest 3.024 release (with CUPS as printing backend). till now we granted some users the right to cancel printer queues from others with 'printer admin = printadmins' in smb.conf. I read through the changes-list and realized that 'printer admin' is now deprecated. I read through the Samba-book, the Howto-sections but did not find (or maybe overlooked) what the preferred way in Samba-3.024 is, to grant some users 'printer admin' rights. I am quite confused, if this is done by $ net groupmap add ntgroup='Builtin Print Operators' \ unixgroup=printadmins rid=550 or by $ net rpc rights grant SePrintOperatorPrivilege 'printadmins' Or am completely off the track? regards thomas
You're not far off. You can grant the rights like so net rpc rights grant 'account_name' SePrintOperatorPrivilege
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 thomas wrote:> Hello list > > last week we upgraded a 2.2 samba installation to the latest > 3.024 release (with CUPS as printing backend). > > till now we granted some users the right to cancel printer > queues from others with 'printer admin = printadmins' in smb.conf. > I read through the changes-list and realized that 'printer admin' > is now deprecated. > > I read through the Samba-book, the Howto-sections but did not find > (or maybe overlooked) what the preferred way in Samba-3.024 is, to > grant some users 'printer admin' rights. > I am quite confused, if this is done by > $ net groupmap add ntgroup='Builtin Print Operators' \ > unixgroup=printadmins rid=550 > or by > $ net rpc rights grant SePrintOperatorPrivilege 'printadmins' > > Or am completely off the track?Both in combination. $ groupmap add ntgroup='PrintAdmins' unixgroup=printadmins $ net rpc rights grant PrintAdmins SePrintOperatorPrivilege cheers, jerry ====================================================================Samba ------- samba.org Centeris ----------- centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - enigmail.mozdev.org iD8DBQFGJ2/3IR7qMdg1EfYRAlNxAKCc7zKJo/8kK82+43ZcpknnFRP2ogCfdQIH bsPQbrRwlZX7GaXf9STdJsY=EYJ5 -----END PGP SIGNATURE-----