Please check the attached xml file for CAS 4.0 with LDAP Supporting Direct 
Bind.

And copy ldap properties as provided on 
http://jasig.github.io/cas/4.0.0/installation/LDAP-Authentication.html as 
per your environment.

On Thursday, June 5, 2014 4:05:49 PM UTC+5:30, Nico Lang wrote:

> after hundred of build ... i found something interresting  this message : 
> WHO: [username: someuser]
> WHAT: 'principal' cannot be null.
> Check the correctness of @Audit annotation at the following audit point: 
> execution(public abstract org.jasig.cas.authentication.Authentication 
> org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.principal.Credentials))
> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
> APPLICATION: CAS
> WHEN: Thu Jun 05 12:28:48 CEST 2014
> CLIENT IP ADDRESS: 192.168.6.80
> SERVER IP ADDRESS: 192.168.2.25
>
> only append when i try to log with a real user existing in my active 
> directory, when i try to log with random username and password not existing 
> i get this error : 
>
> WHO: [username: sdgfsdgsdg]
> WHAT: error.authentication.credentials.bad
> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
> APPLICATION: CAS
> WHEN: Thu Jun 05 12:19:46 CEST 2014
> CLIENT IP ADDRESS: 192.168.6.80
> SERVER IP ADDRESS: 192.168.2.25
>
> so i think the  problem is not in the ldap connection config
>
> @Sunil thanks a lot i will try with what you 've provide and yes i'm still 
> trying on both 3.5.2 and 4.0 version so it could be helpfull to have your 
> conf as exemple. 
>
>
>
> On Tuesday, June 3, 2014 4:18:34 PM UTC+2, Nico Lang wrote:
>>
>> Hi, i'm still trying to set up cas for ldap on my network 
>>
>> webapps is working when i try to login i get this error on cas.log and i 
>> can't figure out my mistakes. 
>>
>> 2014-06-03 16:12:46,905 INFO 
>> [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - 
>> <Beginning ticket cleanup.>
>> 2014-06-03 16:12:46,906 INFO 
>> [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 
>> tickets found to be removed.>
>> 2014-06-03 16:12:46,906 INFO 
>> [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - 
>> <Finished ticket cleanup.>
>> 2014-06-03 16:12:47,341 INFO 
>> [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
>> trail record BEGIN
>> =============================================================
>> WHO: [username: test]
>> WHAT: 'principal' cannot be null.
>> Check the correctness of @Audit annotation at the following audit point: 
>> execution(public abstract org.jasig.cas.authentication.Authentication 
>> org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.principal.Credentials))
>> ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
>> APPLICATION: CAS
>> WHEN: Tue Jun 03 16:12:47 CEST 2014
>> CLIENT IP ADDRESS: 192.168.1.2
>> SERVER IP ADDRESS: 192.168.1.2
>>
>> then Cas webapps say 
>>
>>
>>
>> *CAS is Unavailableany help could be really great *nicolas
>>
>> -- 
>> You are currently subscribed to [email protected] <javascript:> as: 
>> [email protected] <javascript:>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>> -- 
> You are currently subscribed to [email protected] <javascript:> as: 
> [email protected] <javascript:>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Attachment: deployerConfigContext.xml
Description: XML document

Reply via email to