You can set:
ldapservers->SetValue($i,'server','custom_sys_attrs',array('memberof'));
That being said... Are you sure memberOf is supposed to be edited? I
thought memberOf was the aggregation of the groups an entry is in. If
you add or remove something from memberOf, does it add/remove the object
from the group?
V/r,
Ryan Lane
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Rahul Amaram
> Sent: Saturday, July 05, 2008 11:55 PM
> To: [email protected]
> Subject: Re: [phpldapadmin-users] modifying internal
> attribute "memberOf"
>
> Actually I am not sure why phpldapadmin is treating it as an internal
> attribute. It is not part of the schema and is provided by
> enabling the
> "memberof" overlay. But this attribute is supposed to be modifiable.
>
> Regards,
> Rahul.
>
> On Sat, 05 Jul 2008 18:01:29 -0400, Adam Tauno Williams
> <[EMAIL PROTECTED]> wrote:
> >> I have a specific requirement. I am using the latest version of
> >> openldap and phpldapadmin (compiled from debian lenny).
> This version
> >> of openldap has an attribute "memberOf" which displays all
> the group
> >> dns of which this particular dn is a member. But in
> phpldapadmin this
> >> is treated as an internal attribute and is only shown when
> I click on
> >> "Show Internal Attributes". So here are my two doubts:
> >> 1. How do I display only this particular internal attribute by
> >> default?
> >> 2. Is it possible to make this internal attribute modifiable?
> >
> > For #2, no. Internal attributes cannot be modified (at least from
> > LDAP's perspective).
> >
> >> I have some knowledge of templates and know PHP reasonably
> well. So if
> >> there is no direct solution, I do not mind hacking into the code if
> >> given some directions on how to go about this.
> >
> >
> >
> >
> --------------------------------------------------------------
> -----------
> > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> > Studies have shown that voting for your favorite open
> source project,
> > along with a healthy diet, reduces your potential for
> chronic lameness
> > and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> > _______________________________________________
> > phpldapadmin-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>
>
> --------------------------------------------------------------
> -----------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> phpldapadmin-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users