From nobody Wed Jun 8 12:28:31 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B3265839AE2 for ; Wed, 8 Jun 2022 12:28:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJ62l3JDPz3kHR for ; Wed, 8 Jun 2022 12:28:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DF8A7AB0 for ; Wed, 8 Jun 2022 12:28:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 258CSVUF062616 for ; Wed, 8 Jun 2022 12:28:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 258CSVkv062615 for ports-bugs@FreeBSD.org; Wed, 8 Jun 2022 12:28:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264545] net-im/ejabberd tls ldap broken Date: Wed, 08 Jun 2022 12:28:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marko.cupac@mimar.rs X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ashish@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654691311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nkjOXKqVT62MgGpwPwnCldQPB1MnXgg5bfQvP8lUZxI=; b=M9ku8IwpFYCiu65Co1vwHDEoLmR+KF/JsP9hryNPSnzjLImV/ZleLvZQFTsddKGT2lOPAY xYf1ZRq5CJ5ZwGv9q6XnPbsTzImOkWTTgfqRuUfc4wIBNHIblfdGbftoFqq3rxMojGlnid PNJcF6F3tdaptHK0ARFiRpGdmDRIf1Yu9vE5O+dtYzyXedDGiJL7Zq/M5AQq0BZ+kgSYR2 tedbr3/BMca+uRFzAHh4ZIRlIisueWUelEH+7kuvS7gKoO48K3RGbm2LcRr0Hxcpy5wYIm gRfyz61u63f7jbhmyAKKU/8R3hXkD0J5BcD3vOo+e8tNEW+pix1821rIxYyDxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654691311; a=rsa-sha256; cv=none; b=qdvHioetZxQ6szOUxhEdpIEbq/k5nDkwkoXAg5xcrW801gzVoO2hj+WXIS9259GZsWHOfp KPFKbnsxoBLvSDNDFFhZmn2D/vniWgB4OQhUrdgwxTNA4iNTziC6NRJ5yxR7hL1yON+I3c llnMLwPIzVV7dhRTtfC0D0Te2CkIegJPnFY/F26XYAWwJ8mh8FaH1z7Ws4W9DnWdpmTJIL IbeGJbh1c4Hdql2thMCos+pFmjl+xDZ++dlz3r3gMLh6mA0vCEcpZ4UFLu8dNc16qrvvUK vlgqSX9FhYjeYKqHOjMisAXeIeaUhBYc+benKU3SEuXd2M682it1yg1oKzlTcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264545 Bug ID: 264545 Summary: net-im/ejabberd tls ldap broken Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ashish@FreeBSD.org Reporter: marko.cupac@mimar.rs Flags: maintainer-feedback?(ashish@FreeBSD.org) Assignee: ashish@FreeBSD.org Hi, I have just upgraded one of my ejabberd jails to 13.1-RELEASE, also updating all the ports to main (built in my own poudriere): erlang upgraded: 24.2.2,4 -> 24.3.4,4 ejabberd upgraded: 21.12 -> 22.05 After the upgrade I cannot connect to LDAP server (Active Directory) anymor= e. Here's my AUTHENTICATION section which worked before the upgrade: ### =3D=3D=3D=3D=3D=3D AUTHENTICATION =3D=3D=3D=3D=3D=3D=3D ### auth_method: [ldap] ldap_servers: - "ldap.example.org" ldap_encrypt: tls ldap_port: 636 ldap_rootdn: "CN=3DSomeAccount,DC=3Dexample,DC=3Dorg" ldap_password: "examplepass" ldap_base: "DC=3Dexample,DC=3Dorg" ldap_uids: - "sAMAccountName" ldap_filter: "(memberOf=3DCN=3Djabber_users,DC=3Dexample,DC=3Dorg)" Here's actual error from ejabberd.log: 2022-06-08 13:57:18.791918+02:00 [error] <0.31354.0>@eldap:connect_bind/1:1= 092 LDAP connection to ldap.example.org:636 failed: TLS client: In state hello = at ssl_handshake.erl:892 generated CLIENT ALERT: Fatal - Handshake Failure {unknown_or_malformed_handshake,13} Searching around the 'net I found the following discussion: https://github.com/rabbitmq/rabbitmq-server/discussions/4726?sort=3Dold ...which acknowledges issue with LDAP authentication for erlang 24.3.4, and apparent fix which should come with 24.3.5. I guess there is nothing else to do except wait for new version of erlang, = but hopefully other ejabberd users on FreeBSD will find this information useful. Regards, --=20 You are receiving this mail because: You are the assignee for the bug.=