Re: [phpldapadmin] re move read only mode

Deon George <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Chris,

It would appear that a query to ApacheDS with a blank attribute '',
returns the DN, all attributes and their values. We perform this query
in getAttributes(), to work out "internal attributes" and thus all the
attributes were being marked as "Internal" and thus "Read Only".

The same query to other servers (I've tested OpenLDAP, OpenDS, Fedora
DS, W2K3 AD servers (and possibly others)), only returns the DN. (Since
the DN is an internal value, and should only be readonly).  I'm sure
there is an RFC on this, but I cant remember the details. I would
suggest that ApacheDS are doing something non standard - especially
since other LDAP servers I have tested return the expected results.

Anyway, a quick fix for your problem is to set in your config file

$ldapservers->SetValue($i,'server','custom_sys_attrs',array('+'));

...deon


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
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.