2017-03-31 10:14:41,923 - WARNING - - LDAP error: {'desc': "Can't contact LDAP server"}
--
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 "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/0ff5c79f-7056-482a-8fd7-debbec676a8e%40googlegroups.com.
Hi Paul,Does the LDAP server restrict access by IP address?Christian
On Thu, Sep 26, 2019 at 8:22 AM Paul Mansfield <paul.m...@agileanalog.com> wrote:
--I was testing my reviewboard backups are good, so I restored from the mysqldump, and copied over the saved settings_local.pyI can login as the admin user, and the ldap settings are the same as the live server, but I can't login using ldap, and I get this error in the log:[Thu Sep 26 14:20:40.644378 2019] [:error] [pid 25293] 2019-09-26 14:20:40,644 - WARNING - - root - Error authenticating with LDAP: {'desc': "Can't contact LDAP server"}if I run tcpdump on the live server, I see a connection to the ldap server, but nothing is seen on the new standby server.On the new machine, I can ping the FQDN (ldap.example.com) as well as just "ldap", so that means DNS is fine, as is the domain search list in /etc/resolv.confI checked that python-ldap package is installed on both, as is openldap package. Nothing obvious different when I run "pip list" on both.I am not sure how to go further with diagnosing the problem and what is broken, any ideas gratefully received,thanksPaul
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 revie...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/0ff5c79f-7056-482a-8fd7-debbec676a8e%40googlegroups.com.
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/7fc40899-7fb3-4961-be28-d162b7e6d83e%40googlegroups.com.
I found the problem. facepalm. I should have guessed. damn selinux.I found it because I realised that the avatars weren't working as after fixing the directory permissions under .../htdocs/media they still didn't work, so I did a "setenforce permissive" and then discovered that, ldap login worked too.