(apologies for the cross posting) Hi Deon,
Thanks a LOT! I appreciate it. I on my way to testing the fix right now. In the meanwhile, I'm forwarding your mail to [email protected] to see what the ApacheDS folks think. I will implement your fix and check out what we've got. Thanks SO much, again! Kiran: FYI below. What's your thoughts on this? I would be happy to volunteer to help facilitate any patch on either side, but do you think that a query to ApacheDS with a blank attr '' returning all attributes and their values instead of the DN, is incorrect? Thanks, to all! Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------ Forwarded Message From: Deon George <[email protected]> Reply-To: <[email protected]> Date: Sat, 16 May 2009 17:35:37 -0700 To: <[email protected]> Subject: Re: [phpldapadmin] re move read only mode 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/ ------ End of Forwarded Message
