svn commit: samba r9946 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

Simo Sorce idra at samba.org
Sat Sep 3 15:42:14 GMT 2005


This has already been corrected by Gunther.
The current behavior is to only permit take of ownership to yourself if
you have SeTakeOwnershipPrivilege and to chown to others if you have the
SeRestorePrivilege privilege.

Simo.

On Sat, 2005-09-03 at 23:39 +0800, Wong Onn Chee wrote:
> Can we restrict changing of ownership to a 3rd party to just the admin 
> user, instead of anyone with SeTakeOwnershipPrivilege?
> The current function in 3.0.20 which allows changing of ownership to 
> yourself only should be preserved.
> 
> 
> Subject:
> Re: svn commit: samba r9946 - branches/SAMBA_3_0/source/smbd 
> trunk/source/smbd
> From:
> Jeremy Allison <jra at samba.org>
> Date:
> Fri, 2 Sep 2005 08:31:39 -0700
> 
> To:
> samba-technical at lists.samba.org
> CC:
> gd at samba.org
> 
> 
> On Fri, Sep 02, 2005 at 09:16:09AM +0000, gd at samba.org wrote:
> 
> >> Author: gd
> >> Date: 2005-09-02 09:16:08 +0000 (Fri, 02 Sep 2005)
> >> New Revision: 9946
> >> 
> >> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9946
> >> 
> >> Log:
> >> allow the priv-based chown (se_take_ownership) to chown to other users
> >> (not only to the current_user.uid).
> >  
> >
> 
> Is this correct ? Does that privillage have the same meaning in Windows ?
> Even if it does, I'm not sure we should allow this.
> 
> I'm very dubious and would welcome other comments.
> 
> Jeremy.
> 
> 
-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list