From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 10:31:08 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 87D5116A4B3 for ; Fri, 24 Oct 2003 10:31:08 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E1443FDF for ; Fri, 24 Oct 2003 10:31:07 -0700 (PDT) (envelope-from matthewedwards@comcast.net) Received: from MUGGLA (12-209-161-10.client.attbi.com[12.209.161.10]) by comcast.net (rwcrmhc11) with SMTP id <200310241731060130068jpfe>; Fri, 24 Oct 2003 17:31:06 +0000 Message-ID: <011b01c39a54$9b2c06b0$0102000a@home.local> From: "Matt Edwards" To: =?iso-8859-1?Q?Alexander_K=FChn?= References: <002e01c399c8$76ac0600$0102000a@home.local> <20031024075526.F8539@localhost.my.domain> <011101c39a41$2b1034e0$0102000a@home.local> <1067009497.3f9945d9216c2@www.psecalw.de> Date: Fri, 24 Oct 2003 11:31:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 cc: freebsd-questions@freebsd.org 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 17:31:08 -0000 Ok here is what I have done thus far: 1) After I recieved Joerg's files and installed them I moved the gssapi.org file back to it's original location: /usr/include/gssapi.h 2) ran make clean twice in /usr/ports/samba-devel directory 3) I did not build krb5 with ldap so I went back to /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean twice followed by: make WITH_LDAP=yes then after a succesfull build I ran: make WITH_LDAP=yes install 4) I went back to /usr/ports/net/samba-devel and ran: make KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes 5) I have verified that the file /usr/lib/libkrb5.so exists So far the make does not complete it still stops in the location here: > 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 am totally open to trying anything at all to get this to work. Please let me know if I can make any other changes. I can also post my config.log file if that may help. Matt ----- Original Message ----- From: "Alexander Kühn" To: "Matt Edwards" Cc: "Joerg Pulz" ; Sent: Friday, October 24, 2003 9:31 AM Subject: Re: Samba and ADS Support PLEASE... > When you build kerberos make sure you build it with WITH_LDAP=yes as well! > > Quoting Matt Edwards : > > 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----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > Alexander Kuehn > > Papendorf Software Engineering > Cell phone: +49 (0)177 6461165 > Cell fax: +49 (0)177 6468001 > Tel @Calw: +49 (0)7051 936980 > Fax @Calw: +49 (0)7051 9369822 > Mail @Calw mailto:Alexander_Kuehn@papendorf-se.de > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program.