DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
709 stars 248 forks source link

Document configuration of submit/authentication when running 'make check' #125

Closed ACMatFSU closed 10 years ago

ACMatFSU commented 10 years ago

When I run make check I get back errors for every test such as: Submitting 'boolfind-test-timelimit.c' [Oct 14 21:33:00] ../submit/submit[26909]: error: webserver returned: Not authenticated

I checked the access.log for apache and found: 127.0.0.1 - - [14/Oct/2013:21:33:00 +0000] "POST /domjudge/team/upload.php HTTP/1.1" 200 538 "-" "DOMjudge/3.4.0 (submit using cURL)"

Any suggestions?

ubergeek42 commented 10 years ago

What do you have AUTH_METHOD set to in your domserver_config.php file? I believe it needs to be set to FIXED or IPADDRESS for the tests to run properly as the submit client does not do any sort of login to the web interface.

eldering commented 10 years ago

Indeed, this only works if you have AUTH_METHOD set to FIXED or IPADDRESS with a team configured. This should be documented better (also that the submit client can only be used in that case).

ACMatFSU commented 10 years ago

That was it. Thank you gentlemen. Trying to get the software battle-ready for our first programming contest with it this Saturday. Cheers.

eldering commented 10 years ago

I've reopen this bug/issue as the documentation still has to be fixed.