diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-29 13:06:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:30 -0500 |
commit | cd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94 (patch) | |
tree | 076c80657734b64cc7491a6798363c2be5969c6c /source4 | |
parent | e54cc10f1680a965c058dcb9c32c3cd1750ae13d (diff) | |
download | samba-cd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94.tar.gz samba-cd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94.tar.bz2 samba-cd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94.zip |
r2750: decode AbandonRequest correct (untested:-)
metze
(This used to be commit 4233067921d386d4bf02218b479083cdbe2bd3c1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/ldap/ldap.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |