It seems there is some issue with the following properties:

ldap.host.name=ldap://192.168.1.2/ 
<http://www.google.com/url?q=http%3A%2F%2F192.168.1.2%2F&sa=D&sntz=1&usg=AFQjCNGUDAQpEHOq79DIUl7hMA48pH362w>
ldap.search.filter=sAMAccountName=%u

These might need to be properly configured:

ldap.host.name=ldap://192.168.1.2 
<http://www.google.com/url?q=http%3A%2F%2F192.168.1.2%2F&sa=D&sntz=1&usg=AFQjCNGUDAQpEHOq79DIUl7hMA48pH362w>:<LDAP
 
Port number>
ldap.manager.password=password
ldap.userDn=uid=Administrateur,cn=Users,dc=student,dc=some,dc=domain,dc=fr
ldap.search.filter=uid=%u,cn=Users,dc=student,dc=some,dc=domain,dc=fr


If you need 4.0 config I can forward.


Thanks,
Sunil

On Wednesday, June 4, 2014 6:14:42 PM UTC+5:30, Nico Lang wrote:

> here is my deployerConfigContext.xml <http://pastebin.com/GCvGFhB2> as u 
> tell me a add variable value to cas.properties 
>
> like that :
>
> ldap.host.name=ldap://192.168.1.2/
> ldap.manager.password=password
> ldap.userDn=cn=Administrateur, cn=Users, dc=student, dc=some, dc=domain, 
> dc=fr
> ldap.search.filter=sAMAccountName=%u
>
> except for the pom.xml & logs i haven't made  any others modifications to 
> the default cas-server-webapps directory. 
>
> No error in catalina.out actually 
> when i compile whith maven i only get some warnings about locales 
> translations messages and tests results are :
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.jasig.cas.WiringTests
> 2014-06-04 11:51:05,689 INFO 
> [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services.>
> 2014-06-04 11:51:10,313 INFO 
> [org.jasig.cas.util.AutowiringSchedulerFactoryBean] - <Starting Quartz 
> Scheduler now>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.685 sec
> Running org.jasig.cas.util.AutowiringSchedulerFactoryBeanTests
> 2014-06-04 11:51:10,471 INFO 
> [org.jasig.cas.util.AutowiringSchedulerFactoryBean] - <Starting Quartz 
> Scheduler now>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec
> Running org.jasig.cas.web.flow.ServiceAuthorizationCheckTests
> 2014-06-04 11:51:10,701 WARN 
> [org.jasig.cas.web.flow.ServiceAuthorizationCheck] - <Unauthorized Service 
> Access for Service: [ null ] - service is not enabled in the service 
> registry.>
> 2014-06-04 11:51:10,704 WARN 
> [org.jasig.cas.web.flow.ServiceAuthorizationCheck] - <Unauthorized Service 
> Access for Service: [ null ] - service is not defined in the service 
> registry.>
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.228 sec
> Running org.jasig.cas.web.FlowExecutionExceptionResolverTests
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
>
> Results :
>
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
>
> i have seen others post about quite same problems but they all end with no 
> answers ..  meanwhile i try with Cas 4.0 but it's crazy how bad the 
> documentations are and i never get this close to get it work... 
>
>
>
> 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

Reply via email to