Re: Check for write access on attributes

Clément OUDOT <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
2010/8/28 Kilian Röhner <[email protected]>:
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.