Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07BBAD1D8 for ; Thu, 8 Nov 2012 10:19:15 +0000 (UTC) Received: (qmail 37474 invoked by uid 500); 8 Nov 2012 10:19:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 37264 invoked by uid 500); 8 Nov 2012 10:19:13 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 37234 invoked by uid 99); 8 Nov 2012 10:19:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 10:19:12 +0000 Date: Thu, 8 Nov 2012 10:19:12 +0000 (UTC) From: "Leo Bergolth (JIRA)" To: dev@directory.apache.org Message-ID: <457522377.86217.1352369952489.JavaMail.jiratomcat@arcas> In-Reply-To: <758383575.8304.1341492514604.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (DIRSTUDIO-819) Cannot open entries with DNs with UTF8 characters (Active Directory) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSTUDIO-819?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 3493088#comment-13493088 ]=20 Leo Bergolth commented on DIRSTUDIO-819: ---------------------------------------- I have the same problem (AD, DN with UTF8 characters). The packet dump and even the raw packet data shows that Directory Studio us= es (the 6 byte string) "\C3\B6" to search for an "Umlaut o" while it shoul= d use an UTF-8 encoded string directly, without quoting. I.e. it should sen= d the two bytes 0xc3 0xb6. Here is the Directory Studio search request captured by wireshark: ------------------------------------------------------------------------ No. Time Source Destination Protocol In= fo 1 0.000000 172.23.61.103 172.23.3.199 LDAP se= archRequest(32) "cn=3DGr\C3\B6schl Christian 6125 (OERK-N KL),ou=3DUser,ou= =3DKlosterneuburg,ou=3DDienststellen,dc=3Dnoe,dc=3Darc,dc=3Dlocal" singleLe= vel=20 Frame 1: 215 bytes on wire (1720 bits), 215 bytes captured (1720 bits) Raw packet data Internet Protocol, Src: 172.23.61.103 (172.23.61.103), Dst: 172.23.3.199 (1= 72.23.3.199) Transmission Control Protocol, Src Port: 36246 (36246), Dst Port: ldap (389= ), Seq: 1, Ack: 1, Len: 163 Lightweight Directory Access Protocol LDAPMessage searchRequest(32) "cn=3DGr\C3\B6schl Christian 6125 (OERK-N= KL),ou=3DUser,ou=3DKlosterneuburg,ou=3DDienststellen,dc=3Dnoe,dc=3Darc,dc= =3Dlocal" singleLevel messageID: 32 protocolOp: searchRequest (3) searchRequest baseObject: cn=3DGr\C3\B6schl Christian 6125 (OERK-N KL),ou= =3DUser,ou=3DKlosterneuburg,ou=3DDienststellen,dc=3Dnoe,dc=3Darc,dc=3Dlocal scope: singleLevel (1) derefAliases: derefAlways (3) sizeLimit: 1000 timeLimit: 0 typesOnly: False Filter: (objectClass=3D*) attributes: 1 item [Response In: 2] No. Time Source Destination Protocol In= fo 2 0.008476 172.23.3.199 172.23.61.103 LDAP se= archResDone(32) noSuchObject (0000208D: NameErr: DSID-0310020A, problem 200= 1 (NO_OBJECT), data 0, best match of: 'OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc= ,DC=3Dlocal' ) [0 results] Frame 2: 296 bytes on wire (2368 bits), 296 bytes captured (2368 bits) Raw packet data Internet Protocol, Src: 172.23.3.199 (172.23.3.199), Dst: 172.23.61.103 (17= 2.23.61.103) Transmission Control Protocol, Src Port: ldap (389), Dst Port: 36246 (36246= ), Seq: 1, Ack: 164, Len: 244 Lightweight Directory Access Protocol LDAPMessage searchResDone(32) noSuchObject (0000208D: NameErr: DSID-031= 0020A, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc= ,DC=3Dlocal' ) [0 results] messageID: 32 protocolOp: searchResDone (5) searchResDone resultCode: noSuchObject (32) matchedDN: OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen= ,DC=3Dnoe,DC=3Darc,DC=3Dlocal errorMessage: 0000208D: NameErr: DSID-0310020A, problem 200= 1 (NO_OBJECT), data 0, best match of:\n\t'OU=3DUser,OU=3DKlosterneuburg,OU= =3DDienststellen,DC=3Dnoe,DC=3Darc,DC=3Dlocal'\n [Response To: 1] [Time: 0.008476000 seconds] ------------------------------------------------------------------------ And is the same request using the ldapsearch commandline client: (which wor= ks fine) ------------------------------------------------------------------------ No. Time Source Destination Protocol In= fo 58 842.819622 172.23.61.103 172.23.3.199 LDAP se= archRequest(2) "CN=3DGr=C3=83=C2=B6schl Christian 6125 (OERK-N KL),OU=3DUse= r,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc,DC=3Dlocal" whol= eSubtree=20 Frame 58: 201 bytes on wire (1608 bits), 201 bytes captured (1608 bits) Raw packet data Internet Protocol, Src: 172.23.61.103 (172.23.61.103), Dst: 172.23.3.199 (1= 72.23.3.199) Transmission Control Protocol, Src Port: 36663 (36663), Dst Port: ldap (389= ), Seq: 130, Ack: 23, Len: 149 Lightweight Directory Access Protocol LDAPMessage searchRequest(2) "CN=3DGr=C3=83=C2=B6schl Christian 6125 (O= ERK-N KL),OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Dar= c,DC=3Dlocal" wholeSubtree messageID: 2 protocolOp: searchRequest (3) searchRequest baseObject: CN=3DGr\303\266schl Christian 6125 (OERK-N KL),= OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc,DC=3Dloc= al scope: wholeSubtree (2) derefAliases: neverDerefAliases (0) sizeLimit: 0 timeLimit: 0 typesOnly: False Filter: (objectclass=3D*) attributes: 1 item [Response In: 59] No. Time Source Destination Protocol In= fo 59 842.827507 172.23.3.199 172.23.61.103 LDAP se= archResEntry(2) "CN=3DGr=C3=83=C2=B6schl Christian 6125 (OERK-N KL),OU=3DUs= er,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc,DC=3Dlocal" | = searchResDone(2) success [1 result] Frame 59: 201 bytes on wire (1608 bits), 201 bytes captured (1608 bits) Raw packet data Internet Protocol, Src: 172.23.3.199 (172.23.3.199), Dst: 172.23.61.103 (17= 2.23.61.103) Transmission Control Protocol, Src Port: ldap (389), Dst Port: 36663 (36663= ), Seq: 23, Ack: 279, Len: 149 Lightweight Directory Access Protocol LDAPMessage searchResEntry(2) "CN=3DGr=C3=83=C2=B6schl Christian 6125 (= OERK-N KL),OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Da= rc,DC=3Dlocal" [1 result] messageID: 2 protocolOp: searchResEntry (4) searchResEntry objectName: CN=3DGr\303\266schl Christian 6125 (OERK-N KL),= OU=3DUser,OU=3DKlosterneuburg,OU=3DDienststellen,DC=3Dnoe,DC=3Darc,DC=3Dloc= al attributes: 0 items [Response To: 58] [Time: 0.007885000 seconds] Lightweight Directory Access Protocol LDAPMessage searchResDone(2) success [1 result] messageID: 2 protocolOp: searchResDone (5) searchResDone resultCode: success (0) matchedDN:=20 errorMessage:=20 [Response To: 58] [Time: 0.007885000 seconds] ------------------------------------------------------------------------ =20 > Cannot open entries with DNs with UTF8 characters (Active Directory) > -------------------------------------------------------------------- > > Key: DIRSTUDIO-819 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-819 > Project: Directory Studio > Issue Type: Bug > Components: studio-ldapbrowser > Affects Versions: 2.0.0-M3 > Environment: Windows > Reporter: David Martinez Borque > > In the LDAPBrowser, after searching for, and finding, the entries in Acti= ve Directory, when I try to see the attributes of the entry (selecting the = entry), nothing is shown on the right panel. > This happens only with entries which have UTF8 characters in the DN (for = example, names of people in spanish). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira