Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group not created / associed #63

Closed
sparadrus opened this issue Aug 22, 2019 · 2 comments
Closed

Group not created / associed #63

sparadrus opened this issue Aug 22, 2019 · 2 comments

Comments

@sparadrus
Copy link

Hi,
When a CAS User logon, this Name and Mail are correctly retrieved and updated from CAS Attributes, but the memberOf attribute not.
CAS send this format of group (from AD) :

memberOf=CN=ADM-Informatique,OU=MyOU,DC=DOMAIN,DC=LAN

I don't understand.. have you any idea please?
Thanks !

in cas.log :
2019-08-21 19:41:37,729 INFO [org.apereo.cas.authentication.AbstractAuthenticationManager] - <Authenticated principal [mylogin] with attributes [{cn=mylogin, displayName=NAME FAMNAME, givenName=NAME, mail=[email protected], memberOf=CN=ADM-Informatique,OU=MyOU,DC=DOMAIN,DC=LAN, sAMAccountName=mylogin, sn=FAMNAME}] via credentials [[mylogin]].>

  • Apereo CAS 5.1
  • Server-OS: Ubutnu 18
  • HTTP-Server Version: Apache 2.4
  • PHP-Version: PHP 7.0
  • phpCAS-Library-Version: Your packaged version
  • ownCloud/Nextcloud Version Nextcloud 15.0.0]
  • user_cas-Version: 1.7.1
@felixrupp
Copy link
Owner

Hi @sparadrus

user_cas is currently not able to use custom group attribute’s formats. Also see #51 as a duplicate. You have to change the format of the CAS-Server instance to follow the CAS protocol default.

Regards,
Felix

@sparadrus
Copy link
Author

sparadrus commented Sep 7, 2019

Ok thanks and sorry for the duplicate.
Excuse me but what format is excepted for the group?
Thanks,
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants