Opened 3 years ago

Closed 3 years ago

#1486320 closed Bugs (fixed)

LDAP problem with comma in cn field

Reported by: boeren Owned by:
Priority: 5 Milestone: 0.4-beta
Component: LDAP connection Version: 0.3.1
Severity: normal Keywords: ldap, cn, comma, error
Cc:

Description

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.

Change History (2)

comment:1 Changed 3 years ago by alec

  • Component changed from Addressbook to LDAP connection
  • Milestone set to 0.4-beta

comment:2 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [10044074].

Note: See TracTickets for help on using tickets.