summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);