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

Increase CAS_LEN_NETID to 320 (email address max length) #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

huggyb
Copy link

@huggyb huggyb commented Apr 26, 2022

Hello,

We used pam_cas for SSO with dovecot server. We use emails addresses as login.
Email addresses longer than CAS_LEN_NETID will be truncate and login failed.

320 is the limit for email addresse length defined in the RFC.

@prigaux
Copy link
Member

prigaux commented May 8, 2022

Ok to increase... but the rationale seems wrong according to https://stackoverflow.com/a/574698/3005203 which says 254 is the max for email address.

@huggyb
Copy link
Author

huggyb commented May 10, 2022

Ok, sorry. I didn't see the restriction of 254 characters for the full email address lenght.

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

Successfully merging this pull request may close these issues.

2 participants