svn commit: samba r2750 - in branches/SAMBA_4_0/source/libcli/ldap: .

metze at samba.org metze at samba.org
Wed Sep 29 13:06:26 GMT 2004


Author: metze
Date: 2004-09-29 13:06:26 +0000 (Wed, 29 Sep 2004)
New Revision: 2750

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/libcli/ldap&rev=2750&nolog=1

Log:
decode AbandonRequest correct (untested:-)

metze

Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2004-09-29 12:40:30 UTC (rev 2749)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2004-09-29 13:06:26 UTC (rev 2750)
@@ -1095,9 +1095,13 @@
 		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;
 	}
 



More information about the samba-cvs mailing list