[Date Prev][Date Next]
ldbmcat does not produce RFC2253 DN: lines (ITS#135)
Full_Name: Paul Makepeace
Version: 1.2.1, BDB 2.7.3
OS: Solaris 7
Submission from: (NULL) (220.127.116.11)
openldap:dbm$ /usr/local/sbin/ldbmcat archive/id2entry.dbb | grep 'dn: .*, '
dn: cn=Paul Makepeace, LDAP deployment,ou=hacker,dc=realprogrammers,dc=com
Commas which appear in RDNs are not being escaped as \, but appear unadorned.
http://www.ietf.org/rfc/rfc2253.txt, section 2.4 says:
If the UTF-8 string does not have any of the following characters
which need escaping, then that string can be used as the string
representation of the value.
o a space or "#" character occurring at the beginning of the
o a space character occurring at the end of the string
o one of the characters ",", "+", """, "\", "<", ">" or ";"
Implementations MAY escape other characters.
If a character to be escaped is one of the list shown above, then it
is prefixed by a backslash ('\' ASCII 92).
Otherwise the character to be escaped is replaced by a backslash and
two hex digits, which form a single byte in the code of the