{"id":15536,"date":"2018-06-12T08:59:10","date_gmt":"2018-06-12T15:59:10","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=15536"},"modified":"2022-04-01T09:59:50","modified_gmt":"2022-04-01T16:59:50","slug":"kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/","title":{"rendered":"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 – invalid DN]"},"content":{"rendered":"

Affected Version:<\/strong> 4501
\nComponent:<\/strong> OpenLDAP 2.4
\nIssue Description:<\/strong>
\nAfter upgrading Ephesoft 4500 to 4501 and then trying to connect to LDAP that ephesoft provides we see an error “Error 34 : Invalid DN”<\/p>\n

 <\/p>\n

Exception:<\/strong><\/p>\n

javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 – invalid DN]<\/span>
\nat com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3095)
\nat com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886)
\nat com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800)
\nat com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
\nat com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
\nat com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
\nat com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
\nat com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)<\/p>\n

<\/strong>Workaround:<\/strong><\/p>\n

Replace the OpenLDAP 2.4 folder from 4500 backup and replace the same with 4501 OpenLDAP 2.4 folder in Ephesoft -> Dependencies and restart the OpenLDAP service<\/p>\n","protected":false},"excerpt":{"rendered":"

Affected Version: 4501 Component: OpenLDAP 2.4 Issue Description: After upgrading Ephesoft 4500 to 4501 and then trying to connect to […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12339],"tags":[1355,1430],"yoast_head":"\njavax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN] | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN]\" \/>\n<meta property=\"og:description\" content=\"Affected Version: 4501 Component: OpenLDAP 2.4 Issue Description: After upgrading Ephesoft 4500 to 4501 and then trying to connect to […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-12T15:59:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-01T16:59:50+00:00\" \/>\n<meta name=\"author\" content=\"ephesoftadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@philbigleap\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ephesoftadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/\",\"name\":\"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN] | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2018-06-12T15:59:10+00:00\",\"dateModified\":\"2022-04-01T16:59:50+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/f6870520017fe62f92eecf86e6974339\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 – invalid DN]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/f6870520017fe62f92eecf86e6974339\",\"name\":\"ephesoftadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/82b86e45639b5940e8d71b0f251ebe57?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/82b86e45639b5940e8d71b0f251ebe57?s=96&r=g\",\"caption\":\"ephesoftadmin\"},\"sameAs\":[\"https:\/\/twitter.com\/philbigleap\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN] | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN]","og_description":"Affected Version: 4501 Component: OpenLDAP 2.4 Issue Description: After upgrading Ephesoft 4500 to 4501 and then trying to connect to […]","og_url":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/","og_site_name":"Ephesoft Docs","article_published_time":"2018-06-12T15:59:10+00:00","article_modified_time":"2022-04-01T16:59:50+00:00","author":"ephesoftadmin","twitter_card":"summary_large_image","twitter_creator":"@philbigleap","twitter_misc":{"Written by":"ephesoftadmin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/","url":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/","name":"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 - invalid DN] | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2018-06-12T15:59:10+00:00","dateModified":"2022-04-01T16:59:50+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/f6870520017fe62f92eecf86e6974339"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb00022567-javax-naming-invalidnameexception-ldap-error-code-34-invalid-dn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"javax.naming.InvalidNameException:\u00a0[LDAP: error code 34 – invalid DN]"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/f6870520017fe62f92eecf86e6974339","name":"ephesoftadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/82b86e45639b5940e8d71b0f251ebe57?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/82b86e45639b5940e8d71b0f251ebe57?s=96&r=g","caption":"ephesoftadmin"},"sameAs":["https:\/\/twitter.com\/philbigleap"]}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/15536"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=15536"}],"version-history":[{"count":1,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/15536\/revisions"}],"predecessor-version":[{"id":50380,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/15536\/revisions\/50380"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=15536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=15536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=15536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}