# Active Directory Distinguished Names

**URL:** <https://forum.inductiveautomation.com/t/active-directory-distinguished-names/52347>\
**Category:** Ignition\
**Created:** [October 26, 2021, 2:33pm UTC](https://forum.inductiveautomation.com/t/active-directory-distinguished-names/52347 "2021-10-26T14:33:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcgheeiv](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mcgheeiv](https://forum.inductiveautomation.com/u/mcgheeiv)\
**Post date:** [October 26, 2021, 2:33pm UTC](https://forum.inductiveautomation.com/t/active-directory-distinguished-names/52347/1 "2021-10-26T14:33:00Z")

</div>

Ignition 8.1.10 on Windows Server

We are having trouble retrieving users and roles from an Active Directory User source. The error messages is posted below. Any assistance pointing in the correct direction is greatly appreciated!

```auto
INFO | jvm 1 | 2021/10/25 13:19:39 | W [U.ActiveDirectory] [17:19:39]: [profileName=client_name_AD] Unable to read group attribute "cn" from group "CN=PPDL Innovation team CampX,OU=DistributionLists,OU=Exchange,OU=CS,DC=vcn,DC=ds,DC=client_name,DC=net", using distinguished name instead. 
INFO | jvm 1 | 2021/10/25 13:19:39 | javax.naming.CommunicationException: Connection reset
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.ldap.LdapCtx.doSearchOnce(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.ldap.LdapCtx.c_getAttributes(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.ActiveDirectoryUserSource$UserSearchHandler$RoleLoader.load(ActiveDirectoryUserSource.java:314)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.ActiveDirectoryUserSource$UserSearchHandler$RoleLoader.load(ActiveDirectoryUserSource.java:299)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3708)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2416)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2299)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache.get(LocalCache.java:4147)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4151)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5140)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.ActiveDirectoryUserSource$UserSearchHandler.endBatch(ActiveDirectoryUserSource.java:347)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.LDAPHelper.search(LDAPHelper.java:396)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.LDAPHelper.search(LDAPHelper.java:342)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.impl.ActiveDirectoryUserSource.getUsers(ActiveDirectoryUserSource.java:175)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.UserSourceWrapper.doGetUsers(UserSourceWrapper.java:411)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.UserSourceWrapper$UserCacheImpl.doUpdate(UserSourceWrapper.java:268)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.UserSourceWrapper$UserCacheImpl.doUpdate(UserSourceWrapper.java:264)
INFO | jvm 1 | 2021/10/25 13:19:39 | at com.inductiveautomation.ignition.gateway.authentication.AbstractCache$UpdateTask.run(AbstractCache.java:118)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | Caused by: javax.net.ssl.SSLException: Connection reset
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.io.BufferedInputStream.fill(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.io.BufferedInputStream.read1(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.io.BufferedInputStream.read(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.naming/com.sun.jndi.ldap.Connection.run(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | ... 1 common frames omitted
INFO | jvm 1 | 2021/10/25 13:19:39 | Suppressed: java.net.SocketException: Connection reset by peer: socket write error
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.net.SocketOutputStream.socketWrite(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.net.SocketOutputStream.write(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | ... 10 common frames omitted
INFO | jvm 1 | 2021/10/25 13:19:39 | Caused by: java.net.SocketException: Connection reset
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
INFO | jvm 1 | 2021/10/25 13:19:39 | ... 6 common frames omitted

```

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 26, 2021, 4:58pm UTC](https://forum.inductiveautomation.com/t/active-directory-distinguished-names/52347/2 "2021-10-26T16:58:24Z")

</div>

> [@mcgheeiv](#):
>
> `Caused by: java.net.SocketException: Connection reset`

You'll probably have to look in the logs on the other end to see why this is happening. Or at any firewalls along the way.
