View Issue Details

IDProjectCategoryView StatusLast Update
0005508SOGoWeb Mailpublic2022-05-16 22:04
Reporterabdunazarov Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Product Version5.5.1 
Summary0005508: LDAPException REASON:operation bind failed
Description

Hello friends!
Could please, anybody explain me what is going wrong after upgrading to 5.5.1 from 5.2 with using LDAP as SOGoUserSources?

In server logs when i'm trying login always:

Apr 28 09:37:02 sogod [26548]: <0x0x55ed07b86a50[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldaps://my.domain.tld
Apr 28 09:37:02 sogod [26548]: <0x0x55ed07a90400[LDAPSource]> <NSException: 0x55ed07b644a0> NAME:LDAPException REASON:operation bind failed: Can't contact LDAP server (0xFFFFFFFF) INFO:{"error_code" = "-1"; login = "cn=....

Also i've tried clean installation in RHEL 7 and RHEL 8 with the same config. With sogo 5.2 everything works fine, but in 5.5.1 we have error with bind to ldap using the same config.

Thanks in advance.

TagsNo tags attached.

Activities

francis

francis

2022-04-28 12:37

administrator   ~0016014

Is your LDAP directory configured with a valid SSL certificate?

abdunazarov

abdunazarov

2022-05-04 12:00

reporter   ~0016027

Hello francis!
Thanks for your response.
No SSL certificate is self signed.

francis

francis

2022-05-04 12:28

administrator   ~0016029

Can you query your LDAP directory with ldapsearch using the same URL and credentials?

You'll probably need to disable SSL or disable verification. To do so, you can add TLS_REQCERT never to your ldap.conf.

abdunazarov

abdunazarov

2022-05-16 22:04

reporter   ~0016061

Using the same URL and credentials query to LDAP works, there is no problem.

Issue History

Date Modified Username Field Change
2022-04-28 07:11 abdunazarov New Issue
2022-04-28 12:35 francis Description Updated
2022-04-28 12:37 francis Note Added: 0016014
2022-05-04 12:00 abdunazarov Note Added: 0016027
2022-05-04 12:28 francis Note Added: 0016029
2022-05-16 22:04 abdunazarov Note Added: 0016061