Patches for allowing upgradeprovision to upgrade SD

Nadezhda Ivanova nadezhda.ivanova at postpath.com
Thu Nov 26 17:47:33 MST 2009


Hi Mattieu,
Good work on the control! My only comment is that I kind of mind using sd_control2 as a variable name, non-informative. 

Regards,
Nadya
----- Original Message -----
> From: samba-technical-bounces at lists.samba.org <samba-technical-bounces at lists.samba.org>
> To: samba-technical at lists.samba.org <samba-technical at lists.samba.org>, Matthieu Patou <mat+Informatique.Samba at matws.net>
> Sent: Friday, November 27, 2009 1:51:45 AM GMT+0200 Europe;Athens
> Subject: Re: Patches for allowing upgradeprovision to upgrade SD

> > Andrew,
> I integrated your patchs,
> I had a few errors that I fixed in the last 2 patches.
> The whole thing is correctly working now !
> 
> 
> 
> 
> On 26/11/2009 19:59, Matthieu Patou wrote:
> > Hello Andrew and Nadya,
> >
> > So following the morning talk we had with andrew regardings SD, I
> > introduced a new control: recalculate_sd that is used in the 
> descriptor
> > module.
> > It is used by the update script to force the recalculation of the SD 
> of
> > an object as if the object was created (well at least it's the 
> intent of
> > it ...).
> >
> > It seems to work pretty well as I've been able to upgrade 2 
> differents
> > provision from 2 differents times.
> >
> > The script is for the moment making the simplistic but quite ok
> > assumption that nobody has changed the SD set by the provision.
> > This assumption has to be changed but it's to my mind very important 
> to
> > offer to people running alpha8 or older a possibility to update SD 
> as
> > the new acl module is already making a lot of checks (that didn't 
> make
> > my life too simple ...).
> >
> > As it's a bit late I didn't take the time to merge with the change
> > introduced by Andrew on the provision script this morning I'll try 
> to do
> > it tomorrow but andrew feel free to do it if my patches please you !
> >
> > Matthieu.


More information about the samba-technical mailing list