[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ACLs whont work
- To: openldap-technical@openldap.org
- Subject: Re: ACLs whont work
- From: Dario Zanzico <dario@dariozanzico.com>
- Date: Wed, 23 Sep 2015 11:18:07 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=80Q1czlIuU+RHOw bAVeyx/bQrCg=; b=cTTwIq8dDlctKjv72y8kfe5QyrWRnjp1mFxlV7WOUq6byP9 rXZlw3mUFykvUm5RnQwS9Qcvky9RC9m3tqM5Ufkyiut6SCLlXNODxBgCPIRM1rdw 4wqBAKSRuZnkKMENK7Ej5gGhRlKN0MrPT3qJib8h8iH4aObEMEOafY0q8Rq4=
- In-reply-to: <EA7399765D4E5A44848CEFE00AE00BAC92F8DB@IPA-EX-MBX2.ipa.stuttgart>
- References: <EA7399765D4E5A44848CEFE00AE00BAC92F8DB@IPA-EX-MBX2.ipa.stuttgart>
On Wed, Sep 23, 2015, at 10:36 AM, Fischer, Johannes wrote:
> Hi @all,
>
> I struggle with the ACLs, I whant a special account to check the username
> and PW of the entries on the LDAP-server.
> Therefore I’ve written the following in the slapd.conf file:
>
> access to attrs=userPassword
> by dn="cn=authenticate,dc=vfk,dc=ldap,dc=com" write
> by self write
> by anonymous none
>
this acl makes everyone able to write everything (except the password
that can be written by cn=authenticate and self),
and makes it impossible to bind not-anonimously
if you want users to be able to authenticate you shoud give 'anonymous'
users auth permissions to the userpassword attr:
access to attrs=userpassword
# allow connections to bind as user
by anonymous auth
# allow self password change
by self write
# allow cn=authenticate password change
by dn="cn=authenticate,dc=vfk,dc=ldap,dc=com" write
> access to *
> by * write
> by anonymous none
>
> But I can’t authenticate to the LDAP server, does somebody know why?
this rule makes everyone able to modify/add anything to your directory
(except from the userpassword attribute, managed by the first rule)
>
>
> Greetings
> John
bye,
dario
- References:
- ACLs whont work
- From: "Fischer, Johannes" <johannes.fischer@ipa.fraunhofer.de>