UTF-8 and LDAP

Juergen Hasch Hasch at t-online.de
Sat Mar 2 11:35:03 GMT 2002


Am Samstag, 2. März 2002 01:59 schrieb Andrew Bartlett:
>
> This looks the prefereable choice, but use the existing
> 'convert_string_allocate' function.
>...
> The existing function is a bit better with memory allocation, but thats
> the basic idea.  If you want to add a 'convert_string_talloc' it would
> probably be quite useful, but otherwise, malloc()/SAFE_FREE() should be
> fine.

OK, I guess this is more like it. I added a convert_string_talloc() to
charcnv.c and use either convert_string_talloc() or convert_string_allocate()
directly in ldap.c.

...Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: charcnv.patch
Type: text/x-diff
Size: 937 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020302/4ab821ab/charcnv.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap.patch1
Type: text/x-diff
Size: 5775 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020302/4ab821ab/ldap.bin


More information about the samba-technical mailing list