[phpldapadmin] [ phpldapadmin-Bugs-3276528 ] Problem with + and , signs in dn
"SourceForge.net" <[email protected]> Mon, 16 May 2011 21:21:11 +0200
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3276528, was opened at 2011-04-05 21:37 Message generated for change (Comment added) made by mcoenaerts You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3276528&group_id=61828 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 1.2.x Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Maarten (mcoenaerts) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with + and , signs in dn Initial Comment: Hi, We are running phpldapadmin 1.2.0.5 , debian lenny, php 5.2.6-1, apache 2.2.9-10, OpenLDAP 2.4.11-1. I have a dn entry which begins with o=A + B,ou=organizations,.. When is use the tree ajax menu I can click on the entry and I get the data. But when I use the seach function I can click on it but fetching the data gives an error: No such entry (o=A + B,ou=organizations,.. In the ldap logs: First from the search: slapd[21229]: conn=8 op=1 do_search: invalid dn (o=A + B,ou=organizations,ou=addressbook,dc=example,dc=tld) Then from the tree: slapd[21229]: conn=12 op=1 SRCH base="o=ABV \2B architecten,ou=organizations,ou=addressbook,dc=example,dc=tld" scope=0 deref=0 filter="(&(objectClass=*))" The + sign is correctly converted to hexpair with the tree, but not from the search query results. Another related (I think) problem is when you have a group of uniqueMembers which has a , sign in the dn. I can get the data from the search query but when I try to add a uniqueMember I get an error in phpldapadmin: Could not perform ldap_modify operation. LDAP said: Invalid DN syntax Error number: 0x22 (LDAP_INVALID_DN_SYNTAX) Description: You used an invalid syntax in the specified DN. But nothing in the ldap log. Can you please have a look? Best Regards, Maarten ---------------------------------------------------------------------- Comment By: Maarten (mcoenaerts) Date: 2011-05-16 21:21 Message: I applied it to our install and it works. Thanks a lot. M. ---------------------------------------------------------------------- Comment By: Deon George (wurley) Date: 2011-04-26 15:21 Message: Special characters have always been a problem :( I've just commited a patch to git that hopefully will address this, let me know if it works for you. Git commit #97eff73 ...deon ---------------------------------------------------------------------- Comment By: Maarten (mcoenaerts) Date: 2011-04-05 21:53 Message: Don't mind the o=ABV \2B architecten in the 2nd log entry, it was before I did the test with A + B It should be: A \2B B,ou=organizations,ou=addressbook,dc=example,dc=tld ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3276528&group_id=61828 ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/