r26613: Add a function to write a DATA_BLOB into an LDAPString.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 27 Dec 2007 13:47:11 +0000 (07:47 -0600)
committerStefan Metzmacher <metze@samba.org>
Thu, 27 Dec 2007 07:51:05 +0000 (01:51 -0600)
commit70cb5ac03c476110c0348881f49ad0697037ca38
treeb9f358620285d8c23f320ff9abdbecc0a4bfadf3
parentf5bc88d40be1b01c319c4db30ada8de1ffd9f3f1
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
(This used to be commit bc0022e8c7357b126dc91a945f0e53e4e4108e7d)
source4/libcli/ldap/ldap.c
source4/libcli/util/asn1.c