Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 47056 invoked from network); 17 Jul 2008 15:26:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2008 15:26:56 -0000 Received: (qmail 11206 invoked by uid 500); 17 Jul 2008 15:26:47 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11133 invoked by uid 500); 17 Jul 2008 15:26:47 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 11122 invoked by uid 99); 17 Jul 2008 15:26:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 08:26:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 15:25:52 +0000 X-IronPort-AV: E=Sophos;i="4.31,204,1215403200"; d="scan'208";a="22214240" Received: from unknown (HELO hq-ex3fe3.ptcnet.ptc.com) ([132.253.201.67]) by irp2.ptc.com with ESMTP; 17 Jul 2008 11:25:16 -0400 Received: from HQ-MAIL3.ptcnet.ptc.com ([132.253.202.90]) by hq-ex3fe3.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Jul 2008 11:25:16 -0400 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Apache - MS LDAPSDK with multi-byte DN Date: Thu, 17 Jul 2008 11:25:16 -0400 Message-ID: In-Reply-To: <1404e5910807170811i13c1e1bey6f81337d2026a8e1@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache - MS LDAPSDK with multi-byte DN Thread-Index: AcjoH4wg95mJiof/T0yQC5vRvDA2iQAAXjhw References: <486abc49ec741@wp.pl> <486CB68F.8080206@gmx.de> <486ccf96c4751@wp.pl> <486D264A.5090004@gmx.de> <487e2f9addad5@wp.pl> <487E5CF3.2030108@rowe-clan.net> <487E6044.10203@ptc.com> <1404e5910807170528o2ea28e0dgbb5f7477052ddc6b@mail.gmail.com> <487F5E8B.5070200@ptc.com> <1404e5910807170811i13c1e1bey6f81337d2026a8e1@mail.gmail.com> From: "Stusynski, Dan" To: X-OriginalArrivalTime: 17 Jul 2008 15:25:16.0489 (UTC) FILETIME=[50A93390:01C8E821] X-Virus-Checked: Checked by ClamAV on apache.org Eric, The corrupt DN is coming back with a hex value of 3F (question mark) when the sequence should be hex values e68891 (or 346\210\221) in decimal).=20 Dan -----Original Message----- From: Eric Covener [mailto:covener@gmail.com]=20 Sent: Thursday, July 17, 2008 10:12 AM To: dev@httpd.apache.org Subject: Re: Apache - MS LDAPSDK with multi-byte DN On Thu, Jul 17, 2008 at 11:00 AM, Andy Wang wrote: > Basically the dn returned in the following two lines is already=20 > mangled with the ? character: > entry =3D ldap_first_entry(ldc->ldap, res); > dn =3D ldap_get_dn(ldc->ldap, entry); > > Thanks, > Andy What's the byte sequence? What's it supposed to be in utf-8? -- Eric Covener covener@gmail.com