[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-ldap-dev
Subject: Re: Check for write access on attributes
From: Clément_OUDOT <clem.oudot () gmail ! com>
Date: 2010-08-30 8:14:43
Message-ID: AANLkTikzv1s25MPntE8h1EDW26=LNs18nbXmXhbkX1_B () mail ! gmail ! com
[Download RAW message or body]
2010/8/28 Kilian Röhner <roehner@in.tum.de>:
> Hi,
>
> when i'm trying to modify an attribute of an entry, i am not allow to
> modify, the update method gives me of course an "Insufficent Access Error".
>
> I want to prevent that, so my question is: How can i check _before_
> doing the modify, if i am allowed to do it?
>
> Or an other way: Is there a possibility, that the search method returns
> only those attributes, i am allowed to modify?
>
Hi,
you can try to use the 'noop' control:
http://tools.ietf.org/html/draft-zeilenga-ldap-noop-12
It's still a draft, but should work with OpenLDAP.
Clément.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic