diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-05-13 06:07:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:42 -0500 |
commit | 4029df5e602760a0a0f8851e9f7bb28e1434f4f0 (patch) | |
tree | f4cf30899d48bcf608af55cef7800c630e3ff4ba /source4/libcli/ldap/ldap.c | |
parent | 2f315e94f8268880f9fbc1f95d08fdb2518b0479 (diff) | |
download | samba-4029df5e602760a0a0f8851e9f7bb28e1434f4f0.tar.gz samba-4029df5e602760a0a0f8851e9f7bb28e1434f4f0.tar.bz2 samba-4029df5e602760a0a0f8851e9f7bb28e1434f4f0.zip |
r6763: added functions in libcli/ldap/ to binary encode some NDR structures into
ldap friendly filter strings
(This used to be commit 8890dd3ac331cffe83226a356c52df89c917c2b0)
Diffstat (limited to 'source4/libcli/ldap/ldap.c')
-rw-r--r-- | source4/libcli/ldap/ldap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c index 9a8a7bb589..cc7f1a10bc 100644 --- a/source4/libcli/ldap/ldap.c +++ b/source4/libcli/ldap/ldap.c @@ -144,7 +144,7 @@ static struct ldap_val ldap_binary_decode(TALLOC_CTX *mem_ctx, const char *str) encode a blob as a RFC2254 binary string, escaping any non-printable or '\' characters */ -static const char *ldap_binary_encode(TALLOC_CTX *mem_ctx, DATA_BLOB blob) +const char *ldap_binary_encode(TALLOC_CTX *mem_ctx, DATA_BLOB blob) { int i; char *ret; @@ -1345,3 +1345,6 @@ struct ldap_parse_tree *ldap_parse_filter_string(TALLOC_CTX *mem_ctx, { return ldap_parse_filter(mem_ctx, &s); } + + + |