KC 8.7.5 with LDAP and K-1515 warnings?
-
Hi, the VM is up-to-date CentOS 7.6 with KC 8.7.5 and OpenLDAP 2.4.44 using a hosted setup with LDAP as the source for the hosted domains. Periodicaly I see the following in the server.log:
Tue Sep 10 19:00:07 2019: [warning] K-1515: Object not found unknown user "example.org": example.org not found in LDAP
and the OpenLDAP logs show this query:
sep 10 19:00:05 kopano.lab.thuis slapd[6213]: conn=1007 op=4934 SRCH attr=objectClass kopanoSharedStoreOnly kopanoResourceType kopanoSecurityGroup uid uid ou cn cn modifyTimestamp sep 10 19:00:05 kopano.lab.thuis slapd[6213]: conn=1007 op=4934 SEARCH RESULT tag=101 err=0 nentries=6 text= sep 10 19:00:05 kopano.lab.thuis slapd[6213]: conn=1007 op=4935 SRCH base="ou=example.org,ou=hosted,dc=kopano,dc=ldap" scope=2 deref=0 filter="(&(|(objectClass=kopano-user)(objectClass=kopano-contact))(|(!(objectClass=*))(objectClass=*)))" sep 10 19:00:02 kopano.lab.thuis slapd[6213]: conn=1001 op=5307 SRCH base="ou=hosted,dc=kopano,dc=ldap" scope=2 deref=0 filter="
Anyone know what’s causing these queries and how to fix the error? Thanks!
-
What i would do here.
Trace/get all logs but use the date and time stamps first.
Collect all logs around that time of you server, with max ~5 min diff.
Then check for the domain name in these logs.in that example the user and domain, these do exist on your server?
https://kb.kopano.io/display/WIKI/K-XXXX+log+entries
K-1515 : Object not found %s “%s” %s", -
There should be a
objectClass: kopano-company
on the example.org object. -
@thctlo Thank you for your suggestion. I think I figured it out (see below).
-
@jengelh said in KC 8.7.5 with LDAP and K-1515 warnings?:
There should be a
objectClass: kopano-company
on the example.org object.@jengelh Thank you for your suggestion. example.org has objectClass: kopano-company. I found the following commit that (from reading it) may fix my issue:
Mart van de Sanden committed a53150f9e7b 18 Jun 2019
libserver: fix incorrect warning message on resolveUserStoreAFAICT it’s not in the kc-8.7 branch. Any chance it could be added to the kc-8.7 branch too for 8.7.6?
I’ll add that commit to my 8.7.5 build and test. -
Update: 8.7.5 with commit a53150f9e7b22a187dbc1de1914ca0332a490309 no longer shows the K-1515 warnings :-)
-
Done. ~~~~