[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Chinese display garbled
- To: openldap-technical@openldap.org
- Subject: Re: Chinese display garbled
- From: Liam Gretton <liam.gretton@leicester.ac.uk>
- Date: Thu, 05 Feb 2015 11:41:30 +0000
- In-reply-to: <046c01d04135$521b5720$f6520560$@thundersoft.com>
- Organization: IT Services, University Of Leicester
- References: <046c01d04135$521b5720$f6520560$@thundersoft.com>
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 05/02/2015 11:17, Tian Zhiying wrote:
> dn: cn=行政部,ou=domain,dc=domain,dc=com
>
> cn: 行政部
>
> gidnumber: 500
>
> objectclass: posixGroup
>
>
>
> I can add it to the LDAP server. Then excuting this command “# ldapsearch
> -x -H ldap://localhost -b dc=domain,dc=com” , it display as below:
>
> dn:: Y24955Sw5b+X6IuxLG91PXRodW5kZXJzb2Z0LGRjPXRodW5kZXJzb2Z0LGRjPWNvbQ==
>
> cn:: 55Sw5b+X6Iux
It's just base64 encoded. When I decode that it looks fine (though not
what you quoted as the original data:
dn: cn=田志英,ou=thundersoft,dc=thundersoft,dc=com
cn: 田志英
The :: notation against the attribute in the output is a hint that the
value is base64 encoded.
--
Liam Gretton liam.gretton@le.ac.uk
Systems Specialist http://www.le.ac.uk/its/
IT Services Tel: +44 (0)116 2522254
University Of Leicester, University Road
Leicestershire LE1 7RH, United Kingdom