Re: LDAP authentication error

2020-05-26 Thread Adam Weremczuk
> > ldbmodify -H /var/lib/samba/private/sam.ldb dummy2.ldif -U admin > My bad editing post. I actually executed -U dummy2 and it got updated successfully and as intended. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board

Re: LDAP authentication error

2020-05-26 Thread Adam Weremczuk
One problem was my LDAP connection settings. This is almost working for me (thanks to Paul Mansfield): -> Authentication Method: LDAP -> LDAP Server: ldap://192.168.x.x:389 -> Review Board LDAP Bind Account: cn=auth,cn=Users,dc=domain,dc=co,dc=uk -> Review Board LDAP Bind Password: ->

Re: LDAP authentication error

2020-05-21 Thread Adam Weremczuk
The LDAP server listens on both 389 / 636 and I can telnet to either port from Review Board client fine. A logging in attempt generates traffic with 13 packets being exchanged: RB - Review Board client LD - LDAP server [ ] - flag 1. RB -> LD [S] 2. LD -> RB [S.] 3. RB -> LD [.]

Re: LDAP authentication error

2020-05-21 Thread Paul Mansfield
On Thu, 21 May 2020 at 13:35, Adam Weremczuk wrote: > Is my version (3.2.0) known to be problematic and are you suggesting 2.4.15 ? No, I just wanted to be sure that reviewboard would be able to load python ldap if it needed it. if you run "sudo netstat -anp | grep -E '389|636' " and then

Re: LDAP authentication error

2020-05-21 Thread Adam Weremczuk
pip2 install python-ldap Requirement already satisfied: python-ldap in /usr/local/lib/python2.7/dist-packages Requirement already satisfied: pyasn1>=0.3.7 in /usr/local/lib/python2.7/dist-packages (from python-ldap) Requirement already satisfied: pyasn1-modules>=0.1.5 in

Re: LDAP authentication error

2020-05-21 Thread Adam Weremczuk
On Thu, 21 May 2020 at 12:06, Paul Mansfield wrote: > > do you have python (2.x) ldap module installed? > > pip2 list | egrep ldap DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf

Re: LDAP authentication error

2020-05-21 Thread Paul Mansfield
On Thu, 21 May 2020 at 11:52, Adam Weremczuk wrote: > My LDAP settings: do you have python (2.x) ldap module installed? $ pip2 list | egrep ldap DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0