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 DA2E617C66 for ; Tue, 10 Mar 2015 08:11:04 +0000 (UTC) Received: (qmail 72643 invoked by uid 500); 10 Mar 2015 08:11:01 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 72597 invoked by uid 500); 10 Mar 2015 08:11:01 -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 72579 invoked by uid 99); 10 Mar 2015 08:11:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 08:11:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 08:10:54 +0000 Received: by wggy19 with SMTP id y19so13769288wgg.9 for ; Tue, 10 Mar 2015 01:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=hclJMCGNU//yY0LO2dEDZWFyGd8YkJcBLmaHSsWRb8s=; b=jSzH92IiYucQNKVMom8qYLmNJlib/PJi3GYnYE6ijYgK5TXuJV/R8+55aNAmrciHAK iQwHnT7JZUkKcV0eYvy8NI4ouIkXik5cdzNuY2VbMserx0DRXGurSVQWTpQZkbKxAGLb HSa8XVjoE6PJF1JYBJk0Gd1nCGVYL1h6ruwc8RxaXPIyj16poQtXOo81OKPIBKBjb38l Ghlf9nrrSMtWSwoYlPcCSL7U0AALkbnLlOz1Hbs56Ro44XNZ7jwDgEPF6uYd9+iMLNZl doTP03fMzjuaD9kYKGkvrOiNQj1OitRfLFfaxx+hu+cfUGKWKSIuZly/V3Y4S7a067nK VCgw== X-Received: by 10.194.62.52 with SMTP id v20mr65596545wjr.137.1425974943906; Tue, 10 Mar 2015 01:09:03 -0700 (PDT) Received: from [192.168.1.12] (AMontsouris-651-1-133-240.w90-46.abo.wanadoo.fr. [90.46.56.240]) by mx.google.com with ESMTPSA id lx10sm31824943wjb.17.2015.03.10.01.09.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 01:09:03 -0700 (PDT) Message-ID: <54FEA69D.7060704@gmail.com> Date: Tue, 10 Mar 2015 09:09:01 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "users@directory.apache.org" Subject: Re: ppolicy configuration References: <54FE97F5.9000208@um.es> <54FEA5A0.4040701@gmail.com> In-Reply-To: <54FEA5A0.4040701@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Ignore this mail, wrong mailing list (it was for OpenLDAP) Le 10/03/15 09:04, Emmanuel Lécharny a écrit : > Le 10/03/15 08:06, Angel L. Mateo a écrit : >> El 09/03/15 a las 12:10, Igor Shmukler escribió: >>> I also have an LDIF for default policy, added as: $ldapadd -x -D >>> cn=admin,dc=example,dc=com -W -f default_ppolicy.ldif >>> >>> It contains: >>> dn: ou=policies,dc=example,dc=com >>> objectClass: top >>> objectClass: organizationalUnit >>> ou: policies >>> >>> dn: cn=ppolicy,ou=policies,dc=example,dc=com >>> objectClass: top >>> objectClass: device >>> objectClass: pwdPolicyChecker >>> objectClass: pwdPolicy >>> cn: ppolicy >>> pwdAttribute: userPassword >> I think the problem is the pwdAttribute attribute in your ldif. >> Although in examples is shown as you have, in my case I had to put the >> OID of the userPassword, not the "userPassword" string. > That would be a bug. Both the OID or the 'userPassword' string should > work (case insensitive) >