From 4cc49d365fa096e46259d6795b4626603919d69c Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 20 Jun 2010 18:46:51 +0200 Subject: s4:ldap_controls.c - remove encoding functions for private recalculate SD control --- source4/libcli/ldap/ldap_controls.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/ldap/ldap_controls.c b/source4/libcli/ldap/ldap_controls.c index 40ce50ff3f..037c69599d 100644 --- a/source4/libcli/ldap/ldap_controls.c +++ b/source4/libcli/ldap/ldap_controls.c @@ -1270,25 +1270,6 @@ static bool decode_relax_request(void *mem_ctx, DATA_BLOB in, void *_out) return true; } -static bool encode_recalculate_sd_request(void *mem_ctx, void *in, DATA_BLOB *out) -{ - if (in) { - return false; - } - - *out = data_blob(NULL, 0); - return true; -} - -static bool decode_recalculate_sd_request(void *mem_ctx, DATA_BLOB in, void *_out) -{ - if (in.length != 0) { - return false; - } - - return true; -} - static const struct ldap_control_handler ldap_known_controls[] = { { "1.2.840.113556.1.4.319", decode_paged_results_request, encode_paged_results_request }, { "1.2.840.113556.1.4.529", decode_extended_dn_request, encode_extended_dn_request }, -- cgit