Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-22 Thread Jérémie
Indeed this worked way better, thanks ! Le mercredi 21 juin 2023 à 19:04:44 UTC+2, Jason Everling a écrit : > Try authenticated type instead, > > cas.authn.ldap[0].type=AUTHENTICATED > cas.authn.ldap[0].bindDn=YOUR_BIND_DN, Can be upn format as well instead > of full dn >

Re: [EXT] Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-22 Thread Pablo Vidaurri
> > > > *From:* cas-...@apereo.org *On Behalf Of *Jason > Everling > *Sent:* Wednesday, June 21, 2023 10:59 AM > *To:* CAS Community > *Cc:* Ray Bon ; dfisher > *Subject:* [EXT] Re: [cas-user] CAS 6.6.8 - Authenticate using AD > > > > *CAUTION: This emai

RE: [EXT] Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-22 Thread 'Tom O'Neill' via CAS Community
Everling Sent: Wednesday, June 21, 2023 10:59 AM To: CAS Community Cc: Ray Bon ; dfisher Subject: [EXT] Re: [cas-user] CAS 6.6.8 - Authenticate using AD CAUTION: This email originated from outside of SIG. Exercise caution when opening attachments or clicking links, especially from unknown senders

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-21 Thread Jason Everling
Try authenticated type instead, cas.authn.ldap[0].type=AUTHENTICATED cas.authn.ldap[0].bindDn=YOUR_BIND_DN, Can be upn format as well instead of full dn cas.authn.ldap[0].bindCredential=YOUR_BIND_PASSWORD On Wednesday, June 21, 2023 at 9:42:15 AM UTC-5 Ray Bon wrote: > Jérémie, > > 'Unknown

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-21 Thread Ray Bon
Jérémie, 'Unknown user name or bad password.' Suggests that this is an issue on AD side. See https://fawnoos.com/2022/11/24/cas70x-azure-active-directory/ or this older one https://fawnoos.com/2017/11/22/cas-saml-integration-adfs/ Ray On Mon, 2023-06-19 at 00:41 -0700, Jérémie wrote: Notice:

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-19 Thread Jérémie
All logs were already set to DEBUG. I don't think firewall rules are causing the issue here as I'm reaching the AD. Tomcat stdout logs : *2023-06-19 07:32:52,281 INFO [org.apereo.cas.authentication.DefaultAuthenticationManager] - <[LdapAuthenticationHandler] exception details:

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-16 Thread Daniel Fisher
On Fri, Jun 16, 2023 at 5:56 AM Jérémie wrote: > Thank for the logger, I've added it at the end of log4j2 file and set > level to *debug* > You'll probably get a more complete picture if you set all of `org.ldaptive` to DEBUG. > > Here is my error log now (debug logs doesn't seem to give much

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-16 Thread Ray Bon
Jérémie, I did some testing and the ldaptive loggers are not nearly as useful as I thought they would be. This logger at debug or trace may provide a little more detail: It shows the error message in your email: 2023-06-16 09:12:59,430 INFO

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-16 Thread Jérémie
Hi, Thank for the logger, I've added it at the end of log4j2 file and set level to *debug* Here is my error log now (debug logs doesn't seem to give much more information) : *2023-06-16 09:12:06,090 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <[0]

Re: [cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-15 Thread Ray Bon
Jérémie, Here are some loggers for cas ldap: Make sure you can authenticate / find the user from another application (I do not know what tools are available for AD). Check your AD logs to see what it thinks the problem is. Ray On Thu, 2023-06-15 at 05:19 -0700, Jérémie wrote: Notice: This

[cas-user] CAS 6.6.8 - Authenticate using AD

2023-06-15 Thread Jérémie
I've setup a CAS 6.6.8 and an Active Directory on the same server for test purpose. I can't authenticate to my AD using an account. It seems that CAS cannot find the user inside the AD. Here my cas.properties file (AD section) : ``` # Active Directory cas.authn.ldap[0].type=AD