From cd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 29 Sep 2004 13:06:26 +0000 Subject: r2750: decode AbandonRequest correct (untested:-) metze (This used to be commit 4233067921d386d4bf02218b479083cdbe2bd3c1) --- source4/libcli/ldap/ldap.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c index a2f8e91b6c..c78e49bdfe 100644 --- a/source4/libcli/ldap/ldap.c +++ b/source4/libcli/ldap/ldap.c @@ -1095,9 +1095,13 @@ BOOL ldap_decode(ASN1_DATA *data, struct ldap_message *msg) break; } - case ASN1_APPLICATION(LDAP_TAG_AbandonRequest): { -/* struct ldap_AbandonRequest *r = &msg->r.AbandonRequest; */ + case ASN1_APPLICATION_SIMPLE(LDAP_TAG_AbandonRequest): { + struct ldap_AbandonRequest *r = &msg->r.AbandonRequest; msg->type = LDAP_TAG_AbandonRequest; + asn1_start_tag(data, + ASN1_APPLICATION_SIMPLE(LDAP_TAG_AbandonRequest)); + asn1_read_implicit_Integer(data, &r->messageid); + asn1_end_tag(data); break; } -- cgit