View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009943CDashpublic2009-11-21 13:462013-12-21 17:01
ReporterPatrick R. Gansterer 
Assigned ToJulien Jomier 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0009943: Add possibility for "singel sign on"
DescriptionAdd the possibility to check the (CVS-)user via $_SERVER["REMOTE_USER"].
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0018500)
Julien Jomier (manager)
2009-11-21 13:48

Could you describe a little more?
(0018501)
Patrick R. Gansterer (reporter)
2009-11-21 14:08

I use a apache server, where the login is done by a apache module. The other services on this server use the $_SERVER["REMOTE_USER"] variable to identify the user. At the moment i need to log me in serate to use CDash. Instead it should use the $_SERVER["REMOTE_USER"] variable to avoid this addional prompt.
Because CDash doesn't have a separate user (only email) the cvsusername should be used for this.
(0018502)
Julien Jomier (manager)
2009-11-21 14:12

You can use $CDASH_EXTERNAL_AUTH=1 and it will use the $_SERVER["REMOTE_USER"] as email and bypass CDash's registration. The cvsusername is project specific and cannot really work to authenticate user in the system.
(0018503)
Patrick R. Gansterer (reporter)
2009-11-21 14:17

When you use mod_svn with apache the cvsusername is exactly the right value. $_SERVER["REMOTE_USER"] is used when commiting.
I know your internal table structure ;-)
(0018504)
Julien Jomier (manager)
2009-11-21 14:21

I guess I don't get what you are trying to achieve. I understand that in your case the $_SERVER["REMOTE_USER"] is the cvsusername but what should we match this to in the CDash database to authenticate the user?
(0018505)
Patrick R. Gansterer (reporter)
2009-11-21 14:26

With the current table structure it is not possible.
If you don't use the email address as login you can't use the mail function of CDash. Maybe you can add a additional column at the user table for the cvsuser, which is used as fallback for the project specific cvsusername
(0027579)
Chris Scharver (reporter)
2011-10-12 17:11

Perhaps it should function similar to the LDAP authentication ... cdash appears to automatically register a user in the database. This does NOT happen when using external authentication. $_SERVER["REMOTE_USER"] isn't automatically registered as appears to happen when using LDAP.

I think fix would be for cdash to automatically register external users. Thus, users on a server configured with a single sign-on would be able to automatically access cdash.
(0034849)
Julien Jomier (manager)
2013-12-21 17:01

Feel free to reopen if needed

 Issue History
Date Modified Username Field Change
2009-11-21 13:46 Patrick R. Gansterer New Issue
2009-11-21 13:48 Julien Jomier Note Added: 0018500
2009-11-21 14:08 Patrick R. Gansterer Note Added: 0018501
2009-11-21 14:12 Julien Jomier Note Added: 0018502
2009-11-21 14:12 Julien Jomier Status new => assigned
2009-11-21 14:12 Julien Jomier Assigned To => Julien Jomier
2009-11-21 14:17 Patrick R. Gansterer Note Added: 0018503
2009-11-21 14:21 Julien Jomier Note Added: 0018504
2009-11-21 14:26 Patrick R. Gansterer Note Added: 0018505
2011-10-12 17:11 Chris Scharver Note Added: 0027579
2013-12-21 17:01 Julien Jomier Note Added: 0034849
2013-12-21 17:01 Julien Jomier Status assigned => closed
2013-12-21 17:01 Julien Jomier Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team