From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 09:53:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5A6316A41F for ; Mon, 28 Nov 2005 09:53:39 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92D0643D72 for ; Mon, 28 Nov 2005 09:53:31 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.3/8.13.3) with ESMTP id jAS9rSRd020264; Mon, 28 Nov 2005 10:53:28 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.3/8.13.3) with ESMTP id jAS9rRnc020261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Nov 2005 10:53:27 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.3/8.13.3) with ESMTP id jAS9rRPN054867; Mon, 28 Nov 2005 10:53:27 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.3/8.13.3/Submit) id jAS9rR7F054866; Mon, 28 Nov 2005 10:53:27 +0100 (CET) (envelope-from jpulz) Date: Mon, 28 Nov 2005 10:53:25 +0100 (CET) From: Joerg Pulz To: Ilias.Sachpazidis@igd.fraunhofer.de In-Reply-To: <000501c5f3a7$fee05590$17b2a8c0@hermes> Message-ID: <20051128100215.N24084@hades.admin.frm2> References: <000501c5f3a7$fee05590$17b2a8c0@hermes> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: at mailhost.frm2.tum.de Cc: freebsd-questions@freebsd.org Subject: Re: cyrus-sasl-2 with ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 09:53:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 28 Nov 2005, Ilias Sachpazidis wrote: > Hi, > > > > I am trying to install cyrus-sasl-2 with LDAP support. Unsuccessfully so > far. > > The unix box is 5.4-RELEASE FreeBSD. > > Under FreeBSD port I installed cyrus-sasl2-saslauthd package. > > Strating the deamon, I get: > > mail # saslauthd -a ldap -c -t 30 > > saslauthd[86426] :set_auth_mech : unknown authentication mechanism: ldap > > > > I suppose that saslauthd has not been compiled with LDAP support, has it? > > Has anyone already installed saslauthd with ldap on FreeBSD? > > The schema I would like to have (application)---> (saslauthd) -----> (LDAP). As far as i can tell, this packages contains saslauthd without LDAP support. You should pkg_delete(1) the cyrus-sasl2-saslauthd package you've installed and build this by yourself out of the ports-tree. The following command, executed in /usr/ports/security/cyrus-sasl2-saslauthd should give you an LDAP enabled saslauthd: 'make WITH_OPENLDAP=1 install clean'. If you need a a specific version of OpenLDAP, eg. openldap-2.2.xx, then you should additionally specify WANT_OPENLDAP_VER=22. Joerg - -- The beginning is the most important part of the work. -Plato -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDitOXSPOsGF+KA+MRAmG7AKCzjIkHoETjrV+5Ghtm20tM4czYeACfeEo/ ZG0do28ofJbubMq9RDP3KSE= =FmuB -----END PGP SIGNATURE-----