[phpldapadmin] [ phpldapadmin-Bugs-3276528 ] Problem with + and , signs in dn

"SourceForge.net" <[email protected]> Tue, 05 Apr 2011 19:37:02 +0000
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #3276528, was opened at 2011-04-05 21:37
Message generated for change (Tracker Item Submitted) 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: Open
Resolution: None
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3276528&group_id=61828

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/