From users-return-4915-apmail-directory-users-archive=directory.apache.org@directory.apache.org Fri Nov 23 05:30:05 2012 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB272E53E for ; Fri, 23 Nov 2012 05:30:05 +0000 (UTC) Received: (qmail 16494 invoked by uid 500); 23 Nov 2012 05:30:05 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 16309 invoked by uid 500); 23 Nov 2012 05:30:05 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 16276 invoked by uid 99); 23 Nov 2012 05:30:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 05:30:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eugene.prokopiev@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 05:29:56 +0000 Received: by mail-ee0-f50.google.com with SMTP id b45so4644458eek.37 for ; Thu, 22 Nov 2012 21:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=x51Z7opohhJ0GeOVSxqNnUK0o9TAOynKAx8j3zqr06c=; b=HiZtberJa5CaYs7XIIMO/iJXJSk7x8csvbAvQwH9nhHCAWGEV0USS93p5MrilU0wVU Du+y3w5OWsNmuzPFMH00RNZQpySGjkM+Uo2Jsita5ZlSN2LZEsemNgQ4bK2ZvL16/N2o aZ/nxZOinr/CnKv3tMESixIndJIhEQG4+WU6T5tvewmoiz/QCtPMkfMAbbuK7vOSyhtA neg+Wvcirka8R//ChUKVlIdTRc/NSItbseicuuesXxPpJ97VZRal3/ovDYKzoIBFJfMt tCl7hTD5LJQLRXqETZRy/23hXJUE4eYouVvwfvRCvTiD8qhz228MvrdITFkHOytYm5Yl P46g== MIME-Version: 1.0 Received: by 10.14.203.132 with SMTP id f4mr9617151eeo.11.1353648576169; Thu, 22 Nov 2012 21:29:36 -0800 (PST) Sender: eugene.prokopiev@gmail.com Received: by 10.223.199.9 with HTTP; Thu, 22 Nov 2012 21:29:36 -0800 (PST) In-Reply-To: References: Date: Fri, 23 Nov 2012 08:29:36 +0300 X-Google-Sender-Auth: S340AX6C42n30D34RD_yhlOS2rs Message-ID: Subject: Re: How to disable anonymous access for embedded ApacheDS From: Eugene Prokopiev To: users@directory.apache.org Content-Type: multipart/alternative; boundary=047d7b343b588887e804cf22de6a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343b588887e804cf22de6a Content-Type: text/plain; charset=ISO-8859-1 2012/11/22 Kiran Ayyagari > try after calling > > directory.setAccessControlEnabled(true); > Thanks, it helps. How I have new tasks: 1) how to change default admin password? 2) how to define ACLs which looks like: access to attrs=userPassword by self write by anonymous auth by * none access to * by * read in OpenLDAP? -- Regards, Eugene Prokopiev --047d7b343b588887e804cf22de6a--