NIS authentication

19 views
Skip to first unread message

Adam Weremczuk

unread,
May 26, 2020, 9:30:37 AM5/26/20
to Review Board Community
Hi all,

Is it supposed to be working?

The settings page only allows "E-Mail Domain".

No matter what I provide when I attempt to log in I always get:

AttributeError at /account/login/ 'module' object has no attribute 'error'
 
 
Request Method: POST
 
Request URL: http://rb-test.matrixscience.co.uk/account/login/
 
Django Version: 1.6.11
 
Exception Type: AttributeError
 
Exception Value: 'module' object has no attribute 'error'
 
 
Exception Location: /usr/local/lib/python2.7/dist-packages/reviewboard/accounts/backends/nis.py in authenticate, line 40
 
Python Executable: /usr/bin/python
 
Python Version: 2.7.13
 
Python Path: ['/var/www/rb-test.domain.co.uk/conf',
 
'/usr/lib/python2.7',
 
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
 
'/usr/lib/python2.7/lib-tk',
 
'/usr/lib/python2.7/lib-old',
 
'/usr/lib/python2.7/lib-dynload',
 
'/usr/local/lib/python2.7/dist-packages',
 
'/usr/lib/python2.7/dist-packages']


Thanks,
Adam

Christian Hammond

unread,
Jun 8, 2020, 2:31:12 AM6/8/20
to revie...@googlegroups.com
Hi Adam,

Honestly, that backend is very old and probably rarely used.

However, unless there’s some third-party ‘nis’ module installed, that error shouldn’t be happening. 

Can you run:

rb-site manage /path/to/sitedir shell
>> import nis
>> print nis.__file__


Christian 
--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/68c5ca8d-f8cd-46b5-a45c-c41ef8fffb43%40googlegroups.com.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board
Reply all
Reply to author
Forward
0 new messages