Re: NIS authentication

2020-06-08 Thread Christian Hammond
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


On Tue, May 26, 2020 at 06:30 Adam Weremczuk  wrote:

> 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
>
> --
> 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+unsubscr...@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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3Dxtc2btvG2Fhu258mGcmPa3UCRSHuL1E_BPh2id6srnA%40mail.gmail.com.


NIS authentication

2020-05-26 Thread Adam Weremczuk
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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/68c5ca8d-f8cd-46b5-a45c-c41ef8fffb43%40googlegroups.com.