From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 16:18:09 2003 Return-Path: Delivered-To: freebsd-questions@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAA8137B401 for ; Tue, 5 Aug 2003 16:18:09 -0700 (PDT) Received: from daemon.uop.edu (daemon.uop.edu [138.9.200.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778E343FA3 for ; Tue, 5 Aug 2003 16:18:09 -0700 (PDT) (envelope-from wfroning@uop.edu) Received: from daemon (localhost [127.0.0.1]) by daemon.uop.edu (8.12.9/8.12.9) with SMTP id h75NGrQB076177 for ; Tue, 5 Aug 2003 16:18:08 -0700 (PDT) (envelope-from wfroning@uop.edu) Date: Tue, 5 Aug 2003 16:16:53 -0700 From: Will Froning To: freebsd-questions@www.freebsd.org Message-Id: <20030805161653.6c861197.wfroning@uop.edu> In-Reply-To: <20030801130500.08cabad7.wfroning@uop.edu> References: <20030801130500.08cabad7.wfroning@uop.edu> Organization: OIT, University of the Pacific X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Samba 3.0b2 + ADS 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: Tue, 05 Aug 2003 23:18:10 -0000 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 Froning Unix Sys. Admin. (209)946-7470 (209)662-4725 wfroning@uop.edu