#8245 closed defect (worksforme)
UserIDs may be uppercase - breaks fine-grained authorization
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11rc1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
My site is authenticating against a Novell E-directory LDAP server. When authenticating, E-dir does not distinguish between lower- and uppercase userID's. As a result, userIDs are passed along from the browser to trac in whatever case the user wrote it when logging in.
Instructions for the authz_policy file says that user and group names must be lowercased and that upper-case names are reserved for permissions.
If you log in using an upper-cased userID it seems to me that you are just treated as an authenticated
user and that matching against other policy rules simply does not happen. I have not been able to really verify this.
This forces me to tell my (rather IT-naive) users to always use lower-case userIDs. Not so nice.
My client platform is windows/IE7, Ubuntu/Firefox. Same behaviour exhibited. Trac server platform = Ubuntu (Gutsy)
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Summary: | UserIDs may be uppercase - breaks fine-grained authentication → UserIDs may be uppercase - breaks fine-grained authorization |
---|
follow-up: 3 comment:2 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 by , 16 years ago
Replying to ebray:
Set the
ignore_case
option under the[trac]
section in your trac.ini. That will force login names to lower case.
Brilliant, thanks a lot. I never got the idea to look there… ignore_case
might be a reasonable default in future releases.
Set the
ignore_case
option under the[trac]
section in your trac.ini. That will force login names to lower case.