Hi,

CAS = 6.2.6

I'm new to ldap and cas and am trying to connect Active Directory. I am 
able to connect with AD from apache directory studio but no success from 
cas. Below is my configuration:

cas.authn.ldap[0].type=AD
cas.authn.ldap[0].ldap-url=ldap://104.155.203.17:389
cas.authn.ldap[0].connect-timeout=PT5S
cas.authn.ldap[0].base-dn=OU=test-ou,DC=test,DC=com
cas.authn.ldap[0].use-start-tls=false
cas.authn.ldap[0].bind-dn=CN=yap,CN=Users,DC=yap,DC=com
cas.authn.ldap[0].bind-credential="xxxxxxxxx"
cas.authn.ldap[0].dn-format=%[email protected]
cas.authn.ldap[0].principal-attribute-id=sAMAccountName
cas.authn.ldap[0].principal-attribute-password=
cas.authn.ldap[0].principal-attribute-list=sAMAccountName,sn,cn,givenName,displayName
cas.authn.ldap[0].fail-fast=false

The error message is saying that connection cannot be establish but I 
couldn't progress from here.

2020-12-17 12:44:00,107 ERROR 
[org.ldaptive.transport.netty.NettyConnection] - <Connection open failed 
for 
org.ldaptive.transport.netty.NettyConnection@125455276::ldapUrl=[org.ldaptive.LdapURL@-504651490::scheme=ldap,
 
hostname=104.155.203.17, port=389, baseDn=null, attributes=null, 
scope=null, filter=null, inetAddress=null], isOpen=false, connectTime=null, 
connectionConfig=[org.ldaptive.ConnectionConfig@1397735927::ldapUrl=ldap://104.155.203.17:389,
 
connectTimeout=PT5S, responseTimeout=PT5S, reconnectTimeout=PT2M, 
autoReconnect=true, 
autoReconnectCondition=org.ldaptive.ConnectionConfig$$Lambda$957/0x00000008408fa440@7d5a0b14,
 
autoReplay=true, 
sslConfig=[org.ldaptive.ssl.SslConfig@1928075000::credentialConfig=null, 
trustManagers=null, 
hostnameVerifier=org.ldaptive.ssl.DefaultHostnameVerifier@279e1422, 
enabledCipherSuites=null, enabledProtocols=null, 
handshakeCompletedListeners=null, handshakeTimeout=PT1M], 
useStartTLS=false, 
connectionInitializers=[org.ldaptive.BindConnectionInitializer@1273258213::bindDn=CN=yap,CN=Users,DC=yap,DC=com,
 
bindSaslConfig=null, bindControls=null], 
connectionStrategy=org.ldaptive.ActivePassiveConnectionStrategy@af3295f, 
connectionValidator=null, transportOptions={}], channel=null>
org.ldaptive.ConnectException: io.netty.channel.ConnectTimeoutException: 
connection timed out: /104.155.203.17:389

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/572ac744-99b5-4def-b0b5-bb808d6ba2d7n%40apereo.org.

Reply via email to