Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    KC 8.7.5 with LDAP and K-1515 warnings?

    Kopano Groupware Core
    kc ldap k-1515
    3
    7
    499
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • patrick
      patrick last edited by patrick

      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!

      1 Reply Last reply Reply Quote 0
      • thctlo
        thctlo last edited by

        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",

        patrick 1 Reply Last reply Reply Quote 0
        • jengelh
          jengelh Banned last edited by

          There should be a objectClass: kopano-company on the example.org object.

          patrick 1 Reply Last reply Reply Quote 0
          • patrick
            patrick @thctlo last edited by

            @thctlo Thank you for your suggestion. I think I figured it out (see below).

            1 Reply Last reply Reply Quote 0
            • patrick
              patrick @jengelh last edited by

              @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 resolveUserStore

              https://stash.kopano.io/projects/KC/repos/kopanocore/commits/a53150f9e7b22a187dbc1de1914ca0332a490309#provider/libserver/ECUserManagement.cpp

              AFAICT 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.

              1 Reply Last reply Reply Quote 0
              • patrick
                patrick last edited by

                Update: 8.7.5 with commit a53150f9e7b22a187dbc1de1914ca0332a490309 no longer shows the K-1515 warnings :-)

                1 Reply Last reply Reply Quote 1
                • jengelh
                  jengelh Banned last edited by

                  Done. ~~~~

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post