From: Matthias Dieter Wallnöfer Date: Wed, 5 Aug 2009 07:48:45 +0000 (+0200) Subject: s4:torture Remove some unwanted code in the LDAP test - hope this fixes up the test... X-Git-Tag: tevent-0.9.8~475^2~63 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=e2ed5029e97671b307af06c9fff1d4f0442553a2 s4:torture Remove some unwanted code in the LDAP test - hope this fixes up the test failures --- diff --git a/source4/torture/ldap/basic.c b/source4/torture/ldap/basic.c index 3ed0b481eac..ff95ba74ac9 100644 --- a/source4/torture/ldap/basic.c +++ b/source4/torture/ldap/basic.c @@ -269,18 +269,6 @@ static bool test_error_codes(struct torture_context *tctx, } } - printf(" Try a wrong removal\n"); - - msg->type = LDAP_TAG_DelRequest; - msg->r.DelRequest.dn = ""; - - req = ldap_request_send(conn, msg); - if (!req) { - return false; - } - - status = ldap_result_one(req, &rep, LDAP_TAG_DelResponse); - printf(" Try a wrong modification\n"); msg->type = LDAP_TAG_ModifyRequest;