[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[no subject]
Hi, Kurt.
I got a problem here.I use OpenLDAP+DB4 to support our
mail system. We are in China, so there were some
attributes in Chinese, for example,
"中国"(China in Chinese),
"美国"(US in Chinese) etc. base64 system
encodes these Chinese Words into ASCII strings. The
word of China was encoded as "1tC5+g==". There is a
'+' in this string. As I know, '+' is a AVA separator
in our Openldap system, so 'g' after '+' was
considered as a dn by OpenLdap system. That occurs a
error-the attribute can't be added into database.
Is there any way to resolve this problem?
>>> dnPrettyNormal: <cid==?gb2312?B?1tC5+g==?=,
tid=AddressPerson, cn=p1, ou=sitechasia.net, ou=vd,
ou=mailserver, o=sitechasia.com>
=> ldap_bv2dn(cid==?gb2312?B?1tC5+g==?=,
tid=AddressPerson, cn=p1, ou=sitechasia.net, ou=vd,
ou=mailserver, o=sitechasia.com,0)
<= ldap_bv2dn(cid==?gb2312?B?1tC5+g==?=,
tid=AddressPerson, cn=p1, ou=sitechasia.net, ou=vd,
ou=mailserver, o=sitechasia.com,0)=0
do_add: invalid dn (cid==?gb2312?B?1tC5+g==?=,
tid=AddressPerson, cn=p1, ou=sitechasia.net, ou=vd,
ou=mailserver, o=sitechasia.com)
send_ldap_result: conn=2 op=2 p=2
send_ldap_result: err=34 matched="" text="invalid DN"
Thanks for advance!
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
- Follow-Ups:
- Re:
- From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>