LDAP problem with comma in cn field
|Reported by:||boeren||Owned by:|
|Severity:||normal||Keywords:||ldap, cn, comma, error|
First of all a big thank you to the developers for this great program/script!
I am using a LDAP directory addressbook and I am satisfied with the implementation. The only problem is, when adding an entry with a comma in the name field (linked with the cn field -> rdn) I get the message 'errorsaving'. Without the comma and when editing there are no problems/errors.
I think a solution might be using the str_replace php function and adding a slash before the comma and replacing it during display again. I have seen this in SLAB (http://www.successor.de/technik/systemadministration/slab-successors-ldap-adressbook)
I browsed through the source, but I could not find the right spots to get a fix, since the code is quite universal.