google-code-export / student-worker-relational-database

Automatically exported from code.google.com/p/student-worker-relational-database
1 stars 1 forks source link

500 error for someone trying to log into /admin w/o staff status #351

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://sentry.cristoreyny.org/default/group/17/

Original issue reported on code.google.com by jmil...@cristoreyny.org on 1 Jul 2012 at 10:50

GoogleCodeExporter commented 9 years ago
I'm not able to reproduce. 

Created user without staff. Gave user "faculty" group.

User gets login screen at /admin. Please set to Accepted if you can provide 
steps to reproduce.

Original comment by dmbs...@gmail.com on 10 Jul 2012 at 11:49

GoogleCodeExporter commented 9 years ago
I was wrong about the source of the error. It's a LDAP issue.

* Create a new user in AD: admin.cristoreyny.org/CRNYHS/Staff
* Give the new user a valid first name, last name, and e-mail address to avoid 
different 500 errors
* Try to log in to SWORD as the new user. It doesn't matter if you use / or 
/admin
* Observe 500 error.

I think this only happens on first login.

Original comment by jmil...@cristoreyny.org on 11 Jul 2012 at 1:26

GoogleCodeExporter commented 9 years ago
Eh doesn't look like http://code.google.com/p/django-ldap-groups is maintained. 
Fork it?

Original comment by dmbs...@gmail.com on 11 Jul 2012 at 1:35