I found Apereo's CAS yesterday, so i am learning by failing. I try to connect CAS to my OpenLDAP server and created a new application.properties file in /etc/cas/config
cas.authn.ldap[0].type=AUTHENTICATED > > >> cas.authn.ldap[0].principalAttributeList=sAMAccountName,cn,givenName,memberOf,userPrincipalName,department,title,distinguishedName > > cas.authn.ldap[0].ldapUrl=ldap://openldap.lan:10389 > > cas.authn.ldap[0].bindDn=uid=admin,ou=system > > cas.authn.ldap[0].bindCredential=verysecret > > cas.authn.ldap[0].useSsl=false > > cas.authn.ldap[0].baseDn=o=slaas,ou=Users > > cas.authn.ldap[0].userFilter=cn={Users} > > cas.authn.ldap[0].subtreeSearch=true > > cas.authn.ldap[0].searchFilter=sAMAccountName={user} > > cas.authn.ldap[0].enhanceWithEntryResolver=true > > cas.authn.ldap[0].dnFormat=uid=%s,o=slaas,ou=Users > > cas.authn.ldap[0].enhanceWithEntryResolver=true > > cas.authn.ldap[0].dnFormat=uid=%s,ou=Users,o=slaas > > cas.authn.ldap[0].followReferrals=false > > cas.authn.ldap[0].hostnameVerifier=ANY > > When i run my build.cmd run it halts and fails with the following error: *************************** APPLICATION FAILED TO START *************************** Description: Binding to target [Bindable@6e7c351d type = org.apereo.cas.configuration.CasConfigurationProperties, value = 'provided', annotations = array<Annotation>[@org.springframework.boot.context.properties.ConfigurationProperties(value=cas, prefix=cas, ignoreUnknownFields=false, ignoreInvalidFields=false)]] failed: Property: cas.authn.ldap[0].userfilter Value: cn={user} Origin: "cas.authn.ldap[0].userFilter" from property source "bootstrapProperties" Reason: The elements [cas.authn.ldap[0].userfilter] were left unbound. Action: Update your application's configuration Is there anyone who can point me in the right direction? -- - 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/4f36341d-561d-4dad-bf2c-d8938f364814%40apereo.org.
