[SCM] Samba Shared Repository - branch master updated - 1d9c88b3885728aba3d7fef85d80501125011f1c

Stefan (metze) Metzmacher metze at samba.org
Wed Nov 19 07:50:50 GMT 2008


Andrew Bartlett schrieb:
> On Sun, 2008-11-16 at 09:38 -0600, Stefan Metzmacher wrote:
>> commit 69af236e7772e85b7b8dc7045c6737d85f4b189a
>> Author: Stefan Metzmacher <metze at samba.org>
>> Date:   Thu Nov 13 21:27:10 2008 +0100
>>
>>     librpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex
>> string too
> 
> I had some (not committed) code which relied on this not working (strict
> input validation on incoming LDIF).  Can you point me out what do you
> use this for?  I'm just trying to decide if we should split this into
> two functions or if I should just add an extra check on the ldif parsing
> side?

For me GUID_from_data_blob() means convert the binary representation
(ndr) into a GUID, that's why I added the ndr blob code. And as we
already autodetect the string representations, I just added the one
missing representation, the hex string one.

Why is it invalid to specify an guid as an base64 encoded ndr blob
in LDIF?

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20081119/5a5483f3/signature.bin


More information about the samba-technical mailing list