Re: ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-27 Thread harish.va...@gmail.com
Hi @chrisian, @subodh, @raghuveer,

Thanks for the inputs.
The issue is addressed.

Thanks.

On Sunday, 27 June 2021 at 13:25:17 UTC+5:30 subodh...@gmail.com wrote:

> It looks to be an old python-ldap package. Could you check if the package 
> is updated or should be atleast match the requirements?
>
>
> https://github.com/python-ldap/python-ldap/blob/python-ldap-3.3.0/Doc/reference/ldap.rst
>
>
> Thanks,
> Subodh
>
> On Sun, Jun 27, 2021 at 12:04 AM raghuveer mudiraj  
> wrote:
>
>> Hi Harish,
>>
>> I too faced the same problem some time back while setting the LDAP 
>> authentication.
>>
>> Please refer the below link
>>
>> http://138.201.16.208/codesearch/raw/2595363/
>>
>> In the class LDAPBackend, the actual code needs to modify as per the 
>> above link.
>>
>> the above link helped me to solve this. Hope it solves yours.
>>
>> thanks & Regards,
>> M Raghuveer
>>
>> On Sat, Jun 26, 2021 at 11:11 PM harish.va...@gmail.com <
>> harish.va...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> we are getting the below error with LDAP (per httpd error_log) post 
>>> upgrade to RB 4.0.2 and site upgrade.
>>>
>>> [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError: 
>>> initialize() got an unexpected keyword argument 'bytes_mode'
>>> [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26 
>>> 17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected 
>>> error occurred while authenticating with LDAP: initialize() got an 
>>> unexpected keyword argument 'bytes_mode'
>>> [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most 
>>> recent call last):
>>> [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File 
>>> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
>>>  
>>> line 339, in _connect
>>> [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262]
>>>  bytes_mode=False)
>>> [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError: 
>>> initialize() got an unexpected keyword argument 'bytes_mode'
>>>
>>> Any idea on how to fix this.
>>>
>>> Thanks.
>>>
>>> -- 
>>> 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/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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/a67fce2b-d421-4093-8307-8d840d9b2cc4n%40googlegroups.com.


Re: ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-27 Thread Subodh Konhor
It looks to be an old python-ldap package. Could you check if the package
is updated or should be atleast match the requirements?

https://github.com/python-ldap/python-ldap/blob/python-ldap-3.3.0/Doc/reference/ldap.rst


Thanks,
Subodh

On Sun, Jun 27, 2021 at 12:04 AM raghuveer mudiraj <
raghuveer.mudi...@gmail.com> wrote:

> Hi Harish,
>
> I too faced the same problem some time back while setting the LDAP
> authentication.
>
> Please refer the below link
>
> http://138.201.16.208/codesearch/raw/2595363/
>
> In the class LDAPBackend, the actual code needs to modify as per the above
> link.
>
> the above link helped me to solve this. Hope it solves yours.
>
> thanks & Regards,
> M Raghuveer
>
> On Sat, Jun 26, 2021 at 11:11 PM harish.va...@gmail.com <
> harish.varadara...@gmail.com> wrote:
>
>> Hi All,
>>
>> we are getting the below error with LDAP (per httpd error_log) post
>> upgrade to RB 4.0.2 and site upgrade.
>>
>> [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError:
>> initialize() got an unexpected keyword argument 'bytes_mode'
>> [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26
>> 17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected
>> error occurred while authenticating with LDAP: initialize() got an
>> unexpected keyword argument 'bytes_mode'
>> [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most
>> recent call last):
>> [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
>> line 339, in _connect
>> [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262]
>>  bytes_mode=False)
>> [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError:
>> initialize() got an unexpected keyword argument 'bytes_mode'
>>
>> Any idea on how to fix this.
>>
>> Thanks.
>>
>> --
>> 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/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com
>> 
>> .
>>
> --
> 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/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.com
> 
> .
>

-- 
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/CAAECCoDQ%2B%2B%2BsHQXU8b8OfJ%2B1wkRZj7fySfN%2B4OAKRQ9JmOW8qg%40mail.gmail.com.


Re: ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-27 Thread Christian Hammond
You should just need to install the ReviewBoard[ldap] package to ensure
you’re using a compatible version.

Christian


On Sat, Jun 26, 2021 at 11:34 raghuveer mudiraj 
wrote:

> Hi Harish,
>
> I too faced the same problem some time back while setting the LDAP
> authentication.
>
> Please refer the below link
>
> http://138.201.16.208/codesearch/raw/2595363/
>
> In the class LDAPBackend, the actual code needs to modify as per the above
> link.
>
> the above link helped me to solve this. Hope it solves yours.
>
> thanks & Regards,
> M Raghuveer
>
> On Sat, Jun 26, 2021 at 11:11 PM harish.va...@gmail.com <
> harish.varadara...@gmail.com> wrote:
>
>> Hi All,
>>
>> we are getting the below error with LDAP (per httpd error_log) post
>> upgrade to RB 4.0.2 and site upgrade.
>>
>> [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError:
>> initialize() got an unexpected keyword argument 'bytes_mode'
>> [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26
>> 17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected
>> error occurred while authenticating with LDAP: initialize() got an
>> unexpected keyword argument 'bytes_mode'
>> [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most
>> recent call last):
>> [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File
>> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
>> line 339, in _connect
>> [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262]
>>  bytes_mode=False)
>> [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError:
>> initialize() got an unexpected keyword argument 'bytes_mode'
>>
>> Any idea on how to fix this.
>>
>> Thanks.
>>
>> --
>> 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/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com
>> 
>> .
>>
> --
> 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/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.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/CAE7VndnoPirue_YhVBzK4vVTPe_ZznkPs4ZWJmojOfDqVOcvbA%40mail.gmail.com.


Re: ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-26 Thread raghuveer mudiraj
Hi Harish,

I too faced the same problem some time back while setting the LDAP
authentication.

Please refer the below link

http://138.201.16.208/codesearch/raw/2595363/

In the class LDAPBackend, the actual code needs to modify as per the above
link.

the above link helped me to solve this. Hope it solves yours.

thanks & Regards,
M Raghuveer

On Sat, Jun 26, 2021 at 11:11 PM harish.va...@gmail.com <
harish.varadara...@gmail.com> wrote:

> Hi All,
>
> we are getting the below error with LDAP (per httpd error_log) post
> upgrade to RB 4.0.2 and site upgrade.
>
> [Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError:
> initialize() got an unexpected keyword argument 'bytes_mode'
> [Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26
> 17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected
> error occurred while authenticating with LDAP: initialize() got an
> unexpected keyword argument 'bytes_mode'
> [Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most
> recent call last):
> [Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
> line 339, in _connect
> [Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262]
>  bytes_mode=False)
> [Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError:
> initialize() got an unexpected keyword argument 'bytes_mode'
>
> Any idea on how to fix this.
>
> Thanks.
>
> --
> 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/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com
> 
> .
>

-- 
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/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.com.


ReviewBoard 4.0,2 + issue with LDAP based authentication

2021-06-26 Thread harish.va...@gmail.com
Hi All,

we are getting the below error with LDAP (per httpd error_log) post upgrade 
to RB 4.0.2 and site upgrade.

[Sat Jun 26 17:35:57.763873 2021] [:error] [pid 24259] TypeError: 
initialize() got an unexpected keyword argument 'bytes_mode'
[Sat Jun 26 17:36:20.653493 2021] [:error] [pid 24262] 2021-06-26 
17:36:20,653 - ERROR -  - reviewboard.accounts.backends.ldap - Unexpected 
error occurred while authenticating with LDAP: initialize() got an 
unexpected keyword argument 'bytes_mode'
[Sat Jun 26 17:36:20.653508 2021] [:error] [pid 24262] Traceback (most 
recent call last):
[Sat Jun 26 17:36:20.653510 2021] [:error] [pid 24262]   File 
"/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/accounts/backends/ldap.py",
 
line 339, in _connect
[Sat Jun 26 17:36:20.653512 2021] [:error] [pid 24262] bytes_mode=False)
[Sat Jun 26 17:36:20.653513 2021] [:error] [pid 24262] TypeError: 
initialize() got an unexpected keyword argument 'bytes_mode'

Any idea on how to fix this.

Thanks.

-- 
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/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com.