summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-07 11:45:01 +0200
committerVolker Lendecke <vl@samba.org>2009-06-07 11:50:50 +0200
commit83dee900bc50099311c6a4b6bf7a293c3a10d29a (patch)
tree369ad8f7a588a068135b5bd5bb87b1e55521699c
parentd8f331778f6f3756becf9f7974cf2e95d3a04525 (diff)
downloadsamba-83dee900bc50099311c6a4b6bf7a293c3a10d29a.tar.gz
samba-83dee900bc50099311c6a4b6bf7a293c3a10d29a.tar.bz2
samba-83dee900bc50099311c6a4b6bf7a293c3a10d29a.zip
Fix syntax of sending a delete request
-rw-r--r--source3/lib/tldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 2012441d98..df86f95e2c 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -1538,7 +1538,7 @@ struct tevent_req *tldap_delete_send(TALLOC_CTX *mem_ctx,
}
asn1_push_tag(state->out, TLDAP_REQ_DELETE);
- asn1_write_OctetString(state->out, dn, strlen(dn));
+ asn1_write(state->out, dn, strlen(dn));
asn1_pop_tag(state->out);
subreq = tldap_msg_send(state, ev, ld, state->id, state->out);