git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff95491
)
libcli/ldap: correctly marshall LDAP Unbind PDUs
author
Stefan Metzmacher
<metze@samba.org>
Mon, 27 Sep 2010 04:46:33 +0000
(06:46 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 27 Sep 2010 06:24:35 +0000
(08:24 +0200)
metze
libcli/ldap/ldap_message.c
patch
|
blob
|
history
diff --git
a/libcli/ldap/ldap_message.c
b/libcli/ldap/ldap_message.c
index 394151879c99e2d65f3ce73d684f32b9c80788c9..e5b94b8df122d839ace939fa2eb9542b9feb4b97 100644
(file)
--- 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: {