[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: escape character in LDIF





--On Mittwoch, 12. September 2001 12:39 -0700 Arun Prakash <arun.prakash@managestar.com> wrote:

I am trying to update an entry in LDAP using ldapmodify
The attribute that I am trying to update contains comma (,) in the
description text.
Am I escaping the character right?

dn: lib=4,ou=libraries,o=US
changetype: modify
description: "Architects\\, engineers\\, designers\\, and other
consultants"

Commans need only be escaped in DNs. For a value of the description attribute you should leave out the quotes and the backslashes.


--
Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de