From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 17:40:20 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 2B48C37B401 for ; Tue, 5 Aug 2003 17:40:20 -0700 (PDT) Received: from mmp-1.gci.net (mmp-1.gci.net [208.138.130.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FAAB43F93 for ; Tue, 5 Aug 2003 17:40:18 -0700 (PDT) (envelope-from jonr@destar.net) Received: from mldn.ninestar.com (64-164-237-24-mvl.nwc.gci.net [24.237.164.64]) by mmp-1.gci.net (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HJ600GHY9V5SG@mmp-1.gci.net> for freebsd-questions@FreeBSD.ORG; Tue, 05 Aug 2003 16:40:17 -0800 (AKDT) Date: Tue, 05 Aug 2003 16:34:17 -0800 From: Jon Reynolds In-reply-to: <20030805161653.6c861197.wfroning@uop.edu> To: FreeBSD List Message-id: <1060130056.3167.121.camel@localhost.localdomain> Organization: Destar Communications MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Content-type: text/plain Content-transfer-encoding: 7BIT References: <20030801130500.08cabad7.wfroning@uop.edu> <20030805161653.6c861197.wfroning@uop.edu> Subject: Re: Samba 3.0b2 + ADS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jonr@destar.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 00:40:20 -0000 On Tue, 2003-08-05 at 15:16, Will Froning wrote: > Solved. > > cd /usr/ports/net/openldap22 > make install > > cd /usr/ports/security/heimdal > make WITH_LDAP=yes install <--missed WITH_LDAP last time > > cd /usr/ports/net/samba-devel > make KRB5_HOME=/usr/local install > > Thanks, > Will > > On Fri, 1 Aug 2003 13:05:00 -0700 > Will Froning wrote: > > > Has anyone successfully joined a FreeBSD 4.8 box running Samba 3.0b3 > > to a Native mode AD tree? > > > > Just wondering since I'm having a killer time getting it to work. I > > can get the krb5 keys and 'net ads lookup' works like a champ. But > > 'net ads join -U Administrator' always fails with: > > > > [2003/08/01 08:11:03, 1] libsmb/clikrb5.c:ads_krb5_mk_req(267) > > krb5_cc_get_principal failed (No such file or directory) > > [2003/08/01 08:11:03, 1] libsmb/clikrb5.c:ads_krb5_mk_req(274) > > krb5_get_credentials failed for dc3$@STK.REALM (Unknown error: > > -1765328369) > > [2003/08/01 08:11:03, 1] utils/net_ads.c:ads_startup(176) > > ads_connect: Server is unavailable > > > > I have dc3 and dc2 shortname entries in /etc/hosts. Below is the > > smb.conf file relevant entries (I've tried it with and without the > > workgroup entry). > > > > [global] > > workgroup = STK > > realm = stk.realm > > security = ads > > netbios name = MARMAR > > encrypt passwords = yes > > > > I've been posting on samba@lists.samba.org, but no solution. > > > > Please CC me on the reply, thanks a bunch. > > > > Thanks, > > Will > > > > -- > > Will Froning > > Unix Sys. Admin. > > wfroning@uop.edu Will, Is there a doc or howto to setup samba3+ldap+kerberos+freebsd somewhere? I am trying to set this up and am having a hard time finding everything in one doc. Is there such a thing? Thanks, Jon