r26613: Add a function to write a DATA_BLOB into an LDAPString.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Dec 2007 07:47:11 +0000 (01:47 -0600)
committerStefan Metzmacher <metze@samba.org>
Thu, 27 Dec 2007 07:51:08 +0000 (01:51 -0600)
commit4e7a6be85c8cb23a68f83dd4b0a7ac98b1108f1d
tree620c911eeffebd718aa7f4ec180675f3c2ddbc65
parent75f47cd8ca5bf1186795ec9e938aaec13b68c786
r26613: Add a function to write a DATA_BLOB into an LDAPString.

This respects the length set in the DATA_BLOB, rather than hoping to
see NULL termination of the data pointer.

(found testing the Ambigious Name Resolution code against OpenLDAP).

Andrew Bartlett
source/libcli/ldap/ldap.c
source/libcli/util/asn1.c