Hi !
This problem seems to persist.
We are now on SOGo nightly build 141107.
sogo.log shows :
Nov 09 11:30:01 sogod [41436]:|SOGo| starting method 'POST' on uri
'/SOGo/connect'
Nov 09 11:30:01 sogod [41436]: <0x0x7f6a9cfe20b0[LDAPSource]> <NSException:
0x7f6a9f17b5e0> NAME:LDAPException REASON:operation bind failed: Can't contact LDAP server
(0xFFFFFFFF) INFO:{login = "cn=xxx,cn=xxx,dc=xxx,dc=xxx"; }
Nov 09 11:30:01 sogod [41436]: SOGoRootPage Login from 'xxx' for user 'xxx'
might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0
Nov 09 11:30:01 sogod [41436]:|SOGo| request took 0.005003 seconds to execute
xxx - - [09/Nov/2014:11:30:01 GMT] "POST /SOGo/connect HTTP/1.1" 403 34/60
0.006 - - 0
I can connect to the LDAP server from the SOGo machine using ldapsearch and the
same bind credentials as SOGo uses.
To make clear - SOGo works fine for a while/some days, then suddenly this error
occurs.
So it is not a SOGo configuration error as far as I can see.
Is the LDAP connection from SOGo persistent, or is a new connection made for
each request ?
Regards,
Sigurd
Den 28.10.2014 12:05, skrev Sigurd Holter:
Hi !
Thank you for your suggestions.
There is no Samba running on this machine.
The Windows AD running in a VM has it's own IP on it's own physical
network card in bridged mode.
Since the mail server (on a different machine on the same network) can
access the Windows AD and use LDAP, it doesn't seem as this is a port
problem.
I can reach (connect) to the LDAP (Windows) server with telnet from
the SOGo machine.
I can run ldapsearch and get correct results from the SOGo machine.
I can ping the LDAP (Windows) serve from the SOGo machine.
So it seems to be a local SOGo problem I'm afraid.
Regards,
Sigurd Holter
Den 27.10.2014 23:01, skrev Steve Ankeny:
Do you have a collision between ports on the server?
LDAP will use port 389, but Samba wants that port also.
When I installed Samba, I had to change my LDAP port so it wouldn't
collide with Samba
Do you have a process that's grabbing the port before LDAP can use it?
On 10/27/2014 10:25 AM, Stefan Klatt wrote:
Hi Sigurd,
can you reach your LDAP server with telnet (on the used port) if your
SOGo server hangs?
Stefan
--
MVH
Sigurd Holter
Bookingleder/prosjektleder
West Audio A/S
Consul Sigval Bergesens vei 41
4016 Stavanger
Telefon 51537030
--
[email protected]
https://inverse.ca/sogo/lists