1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

libcli/ldap: correctly marshall LDAP Unbind PDUs

metze
This commit is contained in:
Stefan Metzmacher 2010-09-27 06:46:33 +02:00
parent ff95491925
commit 9d4df79080

View File

@ -434,6 +434,8 @@ _PUBLIC_ bool ldap_encode(struct ldap_message *msg,
}
case LDAP_TAG_UnbindRequest: {
/* struct ldap_UnbindRequest *r = &msg->r.UnbindRequest; */
asn1_push_tag(data, ASN1_APPLICATION_SIMPLE(msg->type));
asn1_pop_tag(data);
break;
}
case LDAP_TAG_SearchRequest: {