[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-289-gc624a70

Andrew Bartlett abartlet at samba.org
Mon Jul 13 01:30:14 MDT 2009


On Fri, 2009-07-10 at 17:17 +0200, Volker Lendecke wrote:
> On Fri, Jul 10, 2009 at 11:26:44AM +1000, Andrew Bartlett wrote:
> > Did you consider instead changing them to call
> > ldb_binary_encode_string()?
> 
> Well, being blunt, you know how I think about dependencies
> on ldb.
> 
> Can't we put those functions that are of more general use
> into a separate codebase? I've just come across the base64
> routines that might benefit from the same. Looking at
> heimdal for example, this has the base64 routines in roken.
> 
> To not create a dependency on talloc, what about putting
> the base64 routines into libreplace? Both would
> encode/decode into a preallocated buffer, for decode it
> would be safe to use it in-place.

Well, the function that this is 'make a value suitable for an LDAP
search filter'.  Isn't ldb exactly the kind of common library that this
should be in?

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090713/11ead563/attachment.bin


More information about the samba-technical mailing list