From: Volker Lendecke Date: Sun, 7 Jun 2009 09:45:01 +0000 (+0200) Subject: Fix syntax of sending a delete request X-Git-Tag: tdb-1.1.5~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83dee900bc50099311c6a4b6bf7a293c3a10d29a;p=thirdparty%2Fsamba.git Fix syntax of sending a delete request --- diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 2012441d98b..df86f95e2c7 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);