From 9d4df79080e43ca787b9c7f598aa5327b47e83f2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Sep 2010 06:46:33 +0200 Subject: libcli/ldap: correctly marshall LDAP Unbind PDUs metze --- libcli/ldap/ldap_message.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcli/ldap') diff --git a/libcli/ldap/ldap_message.c b/libcli/ldap/ldap_message.c index 394151879c..e5b94b8df1 100644 --- a/libcli/ldap/ldap_message.c +++ b/libcli/ldap/ldap_message.c @@ -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: { -- cgit