Hi everyone,


I have this error when i logon to my /cas-management :

   - Login LDAP : *OK*
   - Access to Management : *FAILED* (error with my ldap attribute).

2017-06-19 15:01:57,497 ERROR 
[org.apereo.cas.mgmt.services.web.AbstractManagementController] - 
<java.lang.IllegalStateException: No attributes are retrieved for this user.>
org.pac4j.core.exception.TechnicalException: java.lang.IllegalStateException: 
No attributes are retrieved for this user.

I think it's a failed configuration, but i don't know...
Someone can help me ?


*My management.properties* (my LDAP information)

cas.mgmt.adminRoles=ROLE_ADMIN
cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties
cas.authn.attributeRepository.ldap.ldapUrl=Ldap://domaine.prive.fr
cas.authn.attributeRepository.ldap.baseDn=dc=domaine,dc=prive,dc=fr
cas.authn.attributeRepository.ldap.minPoolSize=3
cas.authn.attributeRepository.ldap.maxPoolSize=10
cas.authn.attributeRepository.ldap.validateOnCheckout=false
cas.authn.attributeRepository.ldap.validatePeriodically=true

cas.mgmt.ldap.ldapAuthz.searchFilter=sAMAccountName={user}
cas.mgmt.ldap.ldapAuthz.baseDn=dc=domaine,dc=prive,dc=fr
cas.mgmt.ldap.ldapUrl=Ldap://domaine.prive.fr
cas.mgmt.ldap.baseDn=dc=domaine,dc=prive,dc=fr
cas.mgmt.ldap.userFilter=sAMAccountName={user}
cas.mgmt.ldap.bindDn=CN=BIND 
Ldap,OU=Technique,OU=ADMINISTRATIFS,DC=domaine,DC=prive,DC=fr
cas.mgmt.ldap.bindCredential=password
cas.mgmt.ldap.useSsl=false
 

*My managementConfigContext.xml* (default after ./build package)

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:p="http://www.springframework.org/schema/p";
       xmlns:c="http://www.springframework.org/schema/c";
       xmlns:util="http://www.springframework.org/schema/util";
       xmlns="http://www.springframework.org/schema/beans";
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/util 
http://www.springframework.org/schema/util/spring-util.xsd";>
</beans>
 

*Full debug log is here* :
https://pastebin.com/4w9qRTWV


<https://pastebin.com/4w9qRTWV>

*Config* :
CAS apereo 5.1.0 with "cas-server-support-ldap"
CAS-management apereo 5.1.0 with "cas-server-support-ldap"
on Centos 7 and tomcat 8


Thx for your help

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/42726807-d845-4eac-9087-11cad387c32d%40apereo.org.

Reply via email to