From owner-freebsd-net@FreeBSD.ORG Wed Oct 10 20:18:50 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A2016A46E for ; Wed, 10 Oct 2007 20:18:50 +0000 (UTC) (envelope-from subscr1024@mail.ru) Received: from mx34.mail.ru (mx34.mail.ru [194.67.23.200]) by mx1.freebsd.org (Postfix) with ESMTP id 38B9E13C467 for ; Wed, 10 Oct 2007 20:18:50 +0000 (UTC) (envelope-from subscr1024@mail.ru) Received: from [87.240.12.144] (port=40268 helo=c2.home) by mx34.mail.ru with asmtp id 1Ifi12-000ADq-00 for freebsd-net@freebsd.org; Thu, 11 Oct 2007 00:18:48 +0400 Message-ID: <470D342D.8090106@mail.ru> Date: Thu, 11 Oct 2007 00:21:01 +0400 From: Subscriber User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 CC: freebsd-net@freebsd.org References: <470CAC9B.1050409@mail.ru> <470D06D9.6090001@tomjudge.com> In-Reply-To: <470D06D9.6090001@tomjudge.com> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Re: Samba with AD support not compile X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 20:18:50 -0000 Thank you very much, Tom. It works! Cache. Tom Judge =EF=E8=F8=E5=F2: > Subscriber wrote: >> Hi >> >> I just tried to install net/samba3 (samba-3.0.26a_1,1) on new server a= nd >> have an error. Error occurs only when I enable "ADS" option in port >> config dialog. Then I try to compile port with gcc-4.2.2 instead of >> default system compiler and has the same result. >> >> Does anybody know, how to solve this problem? >> >> >=20 > Hi, >=20 > When we compile samba with AD support we always use the security/krb5 > port to provide the kerberos library. >=20 > This is the build process that we use: >=20 > cd /usr/ports/security/krb5 > make install > cd /usr/ports/net/samba3 > make KRB5_HOME=3D/usr/local > make install >=20 >=20 > You should do a make clean in net/samba3 before trying this. >=20 > I'm not sure why but after significant testing with all 3 kerberos > implementations (base, security/krb5, security/heidemal) we came to the= > conclusion that the krb5 port provided the most stable integration with= > windows 2000 AD Controllers. >=20 > Tom