prefixMap refactoring

Stefan (metze) Metzmacher metze at samba.org
Thu Oct 8 10:04:54 MDT 2009


Kamen Mazdrashki schrieb:
> Hi Metze,
> 
> On Wed, Oct 7, 2009 at 18:22, Stefan (metze) Metzmacher <metze at samba.org> wrote:
>> I'm mostly happy with the patches, there're are some minor things in
>> the 0006-... patch, I'll try to comment on them in detail tomorrow.
> 
> Please note that I am considering this patch as an intermediate one.
> After moving prefixMap implementation into separate file (module),
> most of changes in schema_init.c should become obsolete.
> 
>> One thing we should think about is that this won't work with existing
>> installations are the on-disk format of the prefixMap attribute has
>> changed... Do we care about that? (We'll have a lot of other changes to
>> do, which will also break the on-disk format, so I guess it's fine, but
>> I want other's to comment on this)
>>
> You almost got me convinced there is a backward compatibility problem 
> here. And I was just about to propose 2 ways to fix this :)
> But after some thinking, it turns out there should be no backward
> compatibility issue.
> Please correct me if I am utterly wrong but:
> - prefixMap is stored in its binary form in DS database right?
> - new changes deals with binary format of prefixMap just fine, so
>   there should be no problems and prefixMapBlob structure should be
>   decoded in the same way as it is happening when receiving data 
>   on the wire. 

:-) sorry for the noise...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091008/df59fe62/attachment.pgp>


More information about the samba-technical mailing list