Yes i do use version 6 (CAS overlay template master) downloaded yesterday 
from git. 

I tried several settings and with and without the userfilter, but it keeps 
on throwing the same error. 
#cas.authn.ldap[0].userFilter=sAMAccountName={user}
cas.authn.ldap[0].searchFilter=sAMAccountName={user}

and 
cas.authn.ldap[0].userFilter=sAMAccountName={user}
#cas.authn.ldap[0].searchFilter=sAMAccountName={user}

which makes me believe that the application.properties isn't even read 


On Thursday, October 3, 2019 at 8:12:59 PM UTC+2, rbon wrote:
>
> Which version are you using?
> I think in 6, userFilter changed to searchFilter. But I do not see it 
> listed in the docs.
>
> https://apereo.github.io/cas/6.0.x/index.html
>
> Ray
>
> On Thu, 2019-10-03 at 09:02 -0700, WalTech wrote:
>
> 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? 
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | [email protected] <javascript:>
>
> I respectfully acknowledge that my place of work is located within the 
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
> WSÁNEĆ Nations.
>

-- 
- 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/4b3d098f-0d5f-494a-8fd7-06ff8ffd1de0%40apereo.org.

Reply via email to