{"id":2564,"date":"2014-12-31T18:47:48","date_gmt":"2015-01-01T01:47:48","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=2564"},"modified":"2020-08-28T12:56:52","modified_gmt":"2020-08-28T19:56:52","slug":"active-directory-error-size-limit-exceeded-too-many-users-exceeded","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/","title":{"rendered":"Resolving Active Directory Error: “SizeLimitExceededException”"},"content":{"rendered":"

Applies to<\/strong>: All versions of Ephesoft Transact.<\/span><\/p>\n

Issue<\/span><\/h2>\n

Active Directory Windows authentication is not working. When checking the logs, you may see a message similar to the following:<\/span><\/p>\n

[ERROR] [http-8080-3] [com.ephesoft.dcma.user.connectivity.impl.MSActiveDirectoryConnectivity] - No result found[LDAP: error code 4 - Sizelimit Exceeded]<\/em>\r\njavax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=ephesoft,dc=com'<\/em><\/span><\/pre>\n

Solution<\/strong><\/span><\/h2>\n
    \n
  1. Open the\u00a0user-connectivity.properties<\/strong>. This is located at [Ephesoft_Directory]<\/em>\\Application\\WEB-INF\\classes\\META-INF\\dcma-user-connectivity\\user-connectivity.properties.<\/span><\/li>\n
  2. Limit the groups to a subset of group names by configuring the following property:<\/span><\/li>\n<\/ol>\n
    user.msactivedirectory_group_search_filter={can be blank by default}<\/span><\/pre>\n
      \n
    1. If needed, you can further filter AD groups by specifying individual context paths by configuring the following property:<\/span><\/li>\n<\/ol>\n
      user.msactivedirectory_context_path={can be blank by default}<\/span><\/pre>\n

      Specify the path of each group you want the system to find separated by two semicolons ( ;;<\/strong> ).<\/span><\/p>\n


      \n

      Example 1:<\/strong><\/span><\/p>\n

      Suppose the users that need access to Ephesoft belong to two active directory groups named EphesoftAdmins<\/strong> and EphesoftUsers.<\/strong><\/span><\/p>\n

      Set:<\/span><\/p>\n

      user.msactivedirectory_group_search_filter=(cn=Ephesoft*)<\/span><\/pre>\n
      \n

      Example 2:<\/strong><\/span><\/p>\n

      Suppose the full distinguished name for the following groups you want to have access are:<\/span><\/p>\n

      ephesoftgroup1 is cn=ephesoftgroup1,ou=itdept,ou=usa<\/span>,dc=ephesoft,dc=com <\/strong><\/span><\/p>\n

      operatorgroup2\u00a0is cn=operatorgroup2,ou=operations,ou=usa<\/span>,dc=ephesoft,dc=com\u00a0<\/strong><\/span><\/p>\n

      Set:<\/span><\/p>\n

      user.msactivedirectory_context_path=ou=itdept,ou=usa<\/strong><\/span>;;ou=operations,ou=usa<\/strong><\/span><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"

      Applies to: All versions of Ephesoft Transact. Issue Active Directory Windows authentication is not working. When checking the logs, you […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12338,12337,12392],"tags":[228,371,370,373,372],"yoast_head":"\nResolving Active Directory Error: "SizeLimitExceededException" | 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=\"Resolving Active Directory Error: "SizeLimitExceededException"\" \/>\n<meta property=\"og:description\" content=\"Applies to: All versions of Ephesoft Transact. Issue Active Directory Windows authentication is not working. When checking the logs, you […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-01T01:47:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T19:56:52+00:00\" \/>\n<meta name=\"author\" content=\"lydiaxie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"lydiaxie\" \/>\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\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/\",\"name\":\"Resolving Active Directory Error: \\\"SizeLimitExceededException\\\" | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2015-01-01T01:47:48+00:00\",\"dateModified\":\"2020-08-28T19:56:52+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resolving Active Directory Error: “SizeLimitExceededException”\"}]},{\"@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\/bca3e75d8d08163c3b26d530db9013d1\",\"name\":\"lydiaxie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"caption\":\"lydiaxie\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Resolving Active Directory Error: \"SizeLimitExceededException\" | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Resolving Active Directory Error: \"SizeLimitExceededException\"","og_description":"Applies to: All versions of Ephesoft Transact. Issue Active Directory Windows authentication is not working. When checking the logs, you […]","og_url":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/","og_site_name":"Ephesoft Docs","article_published_time":"2015-01-01T01:47:48+00:00","article_modified_time":"2020-08-28T19:56:52+00:00","author":"lydiaxie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"lydiaxie","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/","url":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/","name":"Resolving Active Directory Error: \"SizeLimitExceededException\" | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2015-01-01T01:47:48+00:00","dateModified":"2020-08-28T19:56:52+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/active-directory-error-size-limit-exceeded-too-many-users-exceeded\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Resolving Active Directory Error: “SizeLimitExceededException”"}]},{"@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\/bca3e75d8d08163c3b26d530db9013d1","name":"lydiaxie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","caption":"lydiaxie"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/2564"}],"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\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=2564"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/2564\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=2564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=2564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=2564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}