Ray, 

So I added the LDAP configuration in the case.properties file 

# cas.authn.ldap [0] .type = AUTHENTICATED 
# cas.authn.ldap [0] .ldapUrl = ldap: //192.168.0.246 
# cas.authn.ldap [0] .baseDn = DC = seat, DC = test, DC = en 
# cas.authn.ldap [0] .searchFilter = cn = {user} 
# cas.authn.ldap [0] .bindDn = cn = Users, DC = seat, DC = test, DC = en 
# cas.authn.ldap [0] .bindCredential = PASSWORD_ADMINISTRAOR 

Should I put a # or not? 

Is that good? 


thank you in advance 

----- Mail original -----

De: "Ray Bon" <[email protected]> 
À: [email protected] 
Envoyé: Mercredi 8 Mai 2019 19:29:00 
Objet : Re: [cas-user] Problem install cas 6.0 


Alain, 


Only add the configuration items that you need to change. Everything else will 
get set with defaults. 
Get you AD connection config from your AD administrator(s). It should make 
sense what CAS config items need to be set. 


Ray 


On Wed, 2019-05-08 at 17:26 +0200, Alain UBFC wrote: 


Hello, 
Thank you very much for the information. 
When I go into the case.properties properties in the opt / cas-overlay-template 
/ etc / case / config / folder 

That's what I put 

# Define the attributes to retrieve from LDAP as part of the same 
authentication transaction 
# The left size indicates the source while the right size indicates optional 
renaming / remapping. 
# of the attribute definition. The same attribute name can be mapped multiple 
times on 
# different attribute names. 
# 

# cas.authn.ldap [0] .principalAttributeList = sn, cn: common name, given name, 
eduPersonTargettedId: SOME_IDENTIFIER 

# cas.authn.ldap [0] .collectDnAttribute = false 
# cas.authn.ldap [0] .principalDnAttributeName = principalLdapDn 
# cas.authn.ldap [0] .allowMultiplePrincipalAttributeValues = true 
# cas.authn.ldap [0] .allowMissingPrincipalAttributeValue = true 
# cas.authn.ldap [0] .credentialCriteria = 

$ {#} ConfigurationKey .ldapUrl = ldap: //siege.test.fr 
$ {#} ConfigurationKey .bindDn = cn = admin, dc = seat, dc = test, dc = com 
$ {#} ConfigurationKey .bindCredential = Password 

$ {#} ConfigurationKey .poolPassivator = NONE | CLOSE | BIND 
$ {#} ConfigurationKey .connectionStrategy = 
$ {#} ConfigurationKey .providerClass = 
org.ldaptive.provider.unboundid.UnboundIDProvider 
$ {#} ConfigurationKey .connectTimeout = PT5S 
$ {#} ConfigurationKey .trustCertificates = 
$ {#} ConfigurationKey .keystore = 
$ {#} ConfigurationKey .keystorePassword = 
$ {#} ConfigurationKey .keystoreType = JKS | JCEKS | PKCS12 
$ {#} ConfigurationKey .minPoolSize = 3 
$ {} ConfigurationKey .validateOnCheckout = true 
$ {#} ConfigurationKey .validatePeriodically = true 
$ {#} ConfigurationKey .validatePeriod = PT5M 
$ {#} ConfigurationKey .validateTimeout = PT5S 
$ {#} ConfigurationKey .failFast = true 
$ {#} ConfigurationKey .idleTime = PT10M 
$ {#} ConfigurationKey .prunePeriod = PT2H 
$ {#} ConfigurationKey .blockWaitTime = PT3S 
$ {#} ConfigurationKey .useSsl = true 
$ {#} ConfigurationKey .useStartTls = false 
$ {#} ConfigurationKey .responseTimeout = PT5S 
$ {#} ConfigurationKey .allowMultipleDns = false 
$ {#} ConfigurationKey .allowMultipleEntries = false 
$ {#} ConfigurationKey .followReferrals = false 
$ {#} ConfigurationKey .binaryAttributes = objectGUID, someOtherAttribute 
$ {#} .Name = configurationKey 

I do not know what to put to join my Windows server Active Directory 2016. 

thank you in advance 

----- Mail original -----

De: "Ray Bon" <[email protected]> 
À: [email protected] 
Envoyé: Mardi 7 Mai 2019 17:18:38 
Objet : Re: [cas-user] Problem install cas 6.0 


Alain, 


Take a look at, 
https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html 
(which is for CAS 5), to get an idea of the things you will need to do. 
CAS 6 docs are https://apereo.github.io/cas/6.0.x/index.html . There is AD, 
https://apereo.github.io/cas/6.0.x/installation/LDAP-Authentication.html and 
ADFS, https://apereo.github.io/cas/6.0.x/integration/ADFS-Integration.html . 


Ray 


On Tue, 2019-05-07 at 16:28 +0200, alain ubfc wrote: 
<blockquote>

Hello everyone 

I just installed apereo case. 

Then I do not know how I can link my ad to Apereo Cas. 
What should I do next? 

Thank you 

# CAS installation 

Add backports to the repository: 

deb http://deb.debian.org/debian/ stretch-backports main contrib non-free 

Update the system 

apt update 

apt upgrade 

Installation of the necessary packages 

apt install openjdk-11-jr openjdk-11-jdk maven build-essential git 

Configure the JAVA environment variable 

echo "JAVA_HOME = / usr / lib / jvm / java-11-openjdk-amd64 /" >> / etc / 
environment 

source / etc / environment 


Check the environment variable 

echo $ JAVA_HOME 


* Installation of gradlew ??? * 

Retrieve the project 

git clone https://github.com/apereo/cas-overlay-template 

/ Cd / Case -overlay -template 

./gradlew clean 


Compile the project 

./gradlew clean copyCasConfiguration build 

./gradlew createKeystore 

./gradlew run 



-- 

Ray Bon 
Programmer Analyst 
Development Services, University Systems 
2507218831 | CLE 019 | [email protected] 
-- 
- 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/91c45bf818fcd966ff737d64b101c5c6f09e1477.camel%40uvic.ca
 . 



</blockquote>

-- 

Ray Bon 
Programmer Analyst 
Development Services, University Systems 
2507218831 | CLE 019 | [email protected] 
-- 
- 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/39154dc3bd47400383ffe202149da23b8228f0e6.camel%40uvic.ca
 . 

-- 
- 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/1240664127.576.1557337115527.JavaMail.alain%40pc-bureau.

Reply via email to