From 83dee900bc50099311c6a4b6bf7a293c3a10d29a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 7 Jun 2009 11:45:01 +0200 Subject: Fix syntax of sending a delete request --- source3/lib/tldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') 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); -- cgit