Hi Hank,
For the CAS login page, we only use username/password (no Domain
required). As for 'casuser', this is the user that will search the
directory for the login user.
As for the POM, I generated the war file using the gradle overlay template
instead of maven. In order to run correctly, you need to add the following
dependencies to the build.gradle file
runtime 'org.jasig.cas:cas-server-support-ldap:4.2.6'
runtime 'org.ldaptive:ldaptive:1.2.0'
Here is the complete build.gradle just in case
http://pastebin.com/RtwrpLjm
Note: This is not the overlay build.gradle file, it's the main CAS one.
If you still want to use maven then you would need to add the following to
the CAS POM file (untested)
<dependencies> <dependency> <groupId>org.ldaptive</groupId> <artifactId>
ldaptive</artifactId> <version>1.2.0</version> </dependency> </dependencies>
<dependencies> <dependency> <groupId>org.jasig.cas</groupId> <artifactId>
cas-server-support-ldap</artifactId> <version>4.2.6</version> </dependency>
</dependencies>
To verify it worked properly, the libraries should show up under
WEB-INF/lib within the war file.
Hope that helps,
Dan
On Wednesday, October 5, 2016 at 9:05:41 AM UTC-4, Hank Foss wrote:
>
> Dan,
>
> Can you provide a copy of your POM also?
>
> Also, when logins are made to the CAS server (
> https://cas-server:8443/cas/login) I'm guessing it's only username /
> password, and then it takes you in like 'casuser' and 'Mellon'. Is this
> correct? In other words, there is no need to type 'domain\sAMAccountName'
> and 'password.'
>
> Thanks,
> Hank
>
>
>
> On Friday, September 30, 2016 at 4:17:24 PM UTC-4, Hank Foss wrote:
>>
>> Thanks to the documentation, I've been able to get far with the CAS build
>> so far, but LDAP has been a bit of a challenge so far.
>>
>> I followed this link to the letter:
>> https://apereo.github.io/cas/4.2.x/installation/LDAP-Authentication.html
>> Then I re-ran maven by running* mvn install package*, reloaded WAR
>> file, and restarted Tomcat - not much luck so far.
>>
>> What is good is that the log file cas.log has shown the source IP and
>> attempting logon username. So that's a step in the right direction: at
>> least it's showing the failure!
>>
>> The local user casuser / Mellon logons are successful, and the cas.log
>> shows that too.
>>
>> Any advice on LDAP configuration on CAS 4.2.5 is greatly appreciated.
>>
>>
>> Thanks,
>> Hank
>>
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f7c0bb4-3dd7-4b8c-ad8e-b5c79dc690f9%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.