Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2003 16:16:53 -0700
From:      Will Froning <wfroning@uop.edu>
To:        freebsd-questions@www.freebsd.org
Subject:   Re: Samba 3.0b2 + ADS
Message-ID:  <20030805161653.6c861197.wfroning@uop.edu>
In-Reply-To: <20030801130500.08cabad7.wfroning@uop.edu>
References:  <20030801130500.08cabad7.wfroning@uop.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <wfroning@uop.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030805161653.6c861197.wfroning>