summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-23 07:46:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:47 -0500
commitbf772399bf38b16567b68e7fde102431e5a28135 (patch)
treea9a2684b054f08c93f509eede8500e4c8c93287d /source4/libcli/ldap
parent7f9d949bd34cbeaca8452ea08d39c0e4bbd3a669 (diff)
downloadsamba-bf772399bf38b16567b68e7fde102431e5a28135.tar.gz
samba-bf772399bf38b16567b68e7fde102431e5a28135.tar.bz2
samba-bf772399bf38b16567b68e7fde102431e5a28135.zip
r21511: this seems to be the nicer fix for the problem with
the windows 2000 LDAP client metze (This used to be commit d40465470fa09827ea529e1f2c80bca9efc152a8)
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r--source4/libcli/ldap/ldap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c
index bdcea0962d..5a7174b41d 100644
--- a/source4/libcli/ldap/ldap.c
+++ b/source4/libcli/ldap/ldap.c
@@ -237,10 +237,6 @@ BOOL ldap_encode(struct ldap_message *msg, DATA_BLOB *result, TALLOC_CTX *mem_ct
ldap_encode_response(&data, &r->response);
if (r->SASL.secblob) {
asn1_write_ContextSimple(&data, 7, r->SASL.secblob);
- } else {
- /* ugly but the windows 2000 mmc deturns decoding error without this */
- DATA_BLOB zero = data_blob(NULL, 0);
- asn1_write_ContextSimple(&data, 7, &zero);
}
asn1_pop_tag(&data);
break;