svn commit: samba r13547 - branches/SAMBA_3_0/source/printing branches/SAMBA_3_0/source/rpc_server trunk/source/printing trunk/source/rpc_server

Gerald (Jerry) Carter jerry at samba.org
Fri Feb 17 21:15:10 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jerry at samba.org wrote:
> Author: jerry
> Date: 2006-02-17 21:07:26 +0000 (Fri, 17 Feb 2006)
> New Revision: 13547
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13547
> 
> Log:
> add earlier checks to deny deleting a printer driver.  The previous
> code relied upon file permissions alone.  Now we check that
> the user is a printer administrator and that the share has not been
> marked read only for that user.

OK.  I fess up.  This is not entirely true.  The unlinking of
files was done as the user.  But there was no access before
removing the tdb record.  So as long as the driver was not
in use, anyone could delete it.  Been that way for a really
long time.




cheers, jerry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD9jzeIR7qMdg1EfYRAgSrAKDnNqz/io3jsQ5qgpkn+IL1sZMH7gCgpCl7
Hrn1m5Xt+a/HpjUd06W2hxI=
=G1/m
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list