From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 08:11:59 2003 Return-Path: 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 7D08A16A4B3 for ; Fri, 24 Oct 2003 08:11:59 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A757D43FBF for ; Fri, 24 Oct 2003 08:11:58 -0700 (PDT) (envelope-from matthewedwards@comcast.net) Received: from MUGGLA (12-209-161-10.client.attbi.com[12.209.161.10]) by comcast.net (rwcrmhc12) with SMTP id <20031024151158014009dao6e>; Fri, 24 Oct 2003 15:11:58 +0000 Message-ID: <011101c39a41$2b1034e0$0102000a@home.local> From: "Matt Edwards" To: "Joerg Pulz" , References: <002e01c399c8$76ac0600$0102000a@home.local> <20031024075526.F8539@localhost.my.domain> Date: Fri, 24 Oct 2003 09:11:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Samba and ADS Support PLEASE... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 15:11:59 -0000 Joerg, That makefile looks like it will work much better, however I having some trouble getting it to configure completely as well. The config process stops and the error says: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I copied the three files to the locations you specified. When I attempted the make I used these params: make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local I have OpenLDAP22 installed and went with the KRB5 port (this port is installed with all of the defaults) I have configured KRB5 so that I CAN get a valid ticket from my ADS server using kinit. Please let me know if there is anything further I need to do on my end! I am more than willing to work this issue out! Thanks, Matt ----- Original Message ----- From: "Joerg Pulz" To: Sent: Friday, October 24, 2003 12:11 AM Subject: Re: Samba and ADS Support PLEASE... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, 23 Oct 2003, Matt Edwards wrote: > > > Date: Thu, 23 Oct 2003 18:47:55 -0600 > > From: Matt Edwards > > To: freebsd-questions@freebsd.org > > Subject: Samba and ADS Support PLEASE... > > > > Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? > > > > I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with > > the samba port but I am too inexperienced to know for sure. > > > > Has anyone else had this problem? > > i had this problem to. > i've made some changes to the Makefile and added some more knobs. > i've send my changes to the port maintainer. > for anyone else who wants to use my modified version i've attached these > files. > > Makefile replaces the original samba-devel/Makefile > pkg-plist replaces the original samba-devel/pkg-plist > patch-Makefile.in make wrepld buildable samba-devel/files/patch-Makefile.in > > i will rewrite the whole Makefile and the pkg-plist again to get rid of > the user-definable path stuff. > > regards > Joerg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (FreeBSD) > > iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNwFopgDI4Nuw2TSCd0wCgh8LP > Ieg+szTkWYyTb9vBV6Od92g= > =H9Uc > -----END PGP SIGNATURE-----