Hi Tom, What LDAP server software are you using?
While I’d expect a different error code here, to check, do you use self-signed SSL certs (or an in-house CA)? Is the cert still valid (not expired)? Are there any ACLs on the LDAP server that restrict what IPs can connect to it? Christian On Wed, Jun 21, 2023 at 01:15 'Tom Schäfer' via Review Board Community < reviewboard@googlegroups.com> wrote: > Hi there, > > I have the same issue now and i´m wondering if there is any solution to > this. > installed Reviewboard 6.0 beta1and tried setup LDAP authentication with > LDAPS. > > *OS* : Ubuntu 22.04.2 > *ReviewBoard Version* : 6.0 beta1 > > LDAP Config: > > LDAP Server: ldaps://ldaps.mycompany.com:636 > *Use TLS for authentication*: Checked > Review Board LDAP Bind Account: CN=my-user,OU=All Service > Accounts,DC=my,DC=company > Review Board LDAP Bind Password: xxxxxxxx > LDAP Base DN: OU=All Users,DC=my,DC=company > Username Attribute: sAMAccountName > Full Name Attribute: displayName > E-Mail LDAP Attribute: mail > > tail -f /var/www/reviewboard/logs/reviewboard.log > > WARNING - - reviewboard.accounts.backends.ldap - Error authenticating with > LDAP: {'result': -1, 'desc': "Can't contact LDAP server", 'ctrls': [], > 'info': '(unknown error code)'} > > The ldap server is pingable and telnet on port 636 of ldap server is also > working. > > Could someone help please? > > Christian Hammond schrieb am Mittwoch, 8. September 2021 um 23:22:00 UTC+2: > >> Hi, >> >> The error from python-ldap isn't always useful. However, this usually >> means that it either can't communicate over the configured port, or there's >> some other issue preventing communication. This *could* be SSL-related, >> but that should usually result in a different error. >> >> From the Review Board server, are you able to run: >> >> telnet ldaps.mycompany.com 636 >> >> Does that connect and ask you for input, or does it give an error message? >> >> Christian >> >> On Wed, Sep 8, 2021 at 6:41 AM Deviprasad Tummidi <tummidid...@gmail.com> >> wrote: >> >>> Hi Community Members, >>> >>> I have installed Reviewboard 4.0.4 version and trying setup LDAP >>> authentication but unable to progress. >>> >>> *OS* : CentOS 8 >>> *ReviewBoard Version* : 4.0.4 >>> >>> LDAP Config: >>> >>> LDAP Server: ldaps://ldaps.mycompany.com:636 >>> *Use TLS for authentication*: Checked >>> Review Board LDAP Bind Account: my_existing_ldap_user >>> Review Board LDAP Bind Password: xxxxxxxx >>> LDAP Base DN: dc=olympus,dc=mycompany,dc=com >>> Username Attribute: sAMAccountName >>> Full Name Attribute: displayName >>> E-Mail LDAP Attribute: mail >>> >>> tail -f /var/www/reviewboard/logs/reviewboard.log >>> >>> 2021-09-08 07:08:48,374 - WARNING - - >>> reviewboard.accounts.backends.ldap - Error authenticating with LDAP: >>> {'result': -1, 'desc': "Can't contact LDAP server", 'ctrls': []} >>> >>> The ldap server is pingable from my CentOS and vice versa. >>> >>> Also the Reviewboard documentation >>> <https://www.reviewboard.org/docs/manual/dev/admin/configuration/authentication-settings/#ldap-authentication-settings> >>> is not really helpful. >>> >>> Can anyone kindly help me please? >>> >>> >>> -- >>> 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/39f2300e-c45e-4d70-9235-31e0de343d1fn%40googlegroups.com >>> <https://groups.google.com/d/msgid/reviewboard/39f2300e-c45e-4d70-9235-31e0de343d1fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Christian Hammond >> President/CEO of Beanbag <https://www.beanbaginc.com/> >> Makers of Review Board <https://www.reviewboard.org/> >> > -- > 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/58acf9aa-ccd2-4734-bfe7-2d8c3f383a34n%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/58acf9aa-ccd2-4734-bfe7-2d8c3f383a34n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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/CAE7VndkWjCf4fTTTCPMizfGjs4uRrGCJ5qz1V5eQ4x8qHW14dw%40mail.gmail.com.