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
>> <https://groups.google.com/d/msgid/reviewboard/f9ff392d-ae3b-4e38-9e85-5172b02d6ac0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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
> <https://groups.google.com/d/msgid/reviewboard/CACYQO9QsU3bqVVqO%3D3LCm2UwiDEDWQ60F%3DWpjYfc588rofJHZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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.

Reply via email to