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

    Core 8.7: Invalid LDAP search filter containing (|)

    Kopano Groupware Core
    2
    6
    390
    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.
    • dcuser
      dcuser last edited by

      Hey guys,

      I updated to 8.7 and noticed, that Kopano creates LDAP filter which contains (|) e.g.

      (&(|(&(&(objectClass=kopano-user)(mail=*@xxx))(|(objectClass=posixAccount)(objectClass=kopano-contact)))(&(&(objectClass=kopano-user)(mail=*@xxx))(objectClass=kopano-contact))(|(&(objectClass=posixGroup)(objectClass=kopano-group))(objectClass=kopano-dynamicgroup))(|(&(objectClass=kopano-addresslist))))(&(|(gecos=*\2A*)(mail=*\2A*)(mail=*\2A*)(mail=*\2A*)(department=*\2A*)(gecos=*\2A*))(&(!(&(|(|)(|))(|(|))))(!(&(|(|)(|))(|(|)))))))
      

      These are rejected by the 389 directory server inside FreeIPA. According to https://www.ietf.org/rfc/rfc1960.txt (|) is invalid because it does not have at least one filter after |.

      Is there a way to avoid these statements by any kind of configuration I can perform?

      thanks in advance

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

        The effect is, that currently no operations are working, which require these search. Adding permissions for calendar users for example.

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano @dcuser last edited by

          Hi @dcuser,

          we currently do not support freeipa and therefore do not test it. Which exact version are you talking about? In which previous version has it still worked?

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

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

            I use the FreeIPA version 4.6.4 on CentOS 7.
            The issue was introduced with Kopano 8.7.0, it worked with 8.6.9

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @dcuser last edited by

              thanks for the additional information.

              I’ve created https://jira.kopano.io/browse/KC-1402 to followup on this.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

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

                Thanks, Felix!

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