Re: Check for write access on attributes
[email protected] (Clément OUDOT)
| Newsgroups | perl.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.