Samba 3.0b2 + ADS

Will Froning wfroning at uop.edu
Tue Aug 5 16:18:10 PDT 2003


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 at 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 at lists.samba.org, but no solution.  
> 
> Please CC me on the reply, thanks a bunch.
> 
> Thanks,
> Will
> 
> -- 
> Will Froning
> Unix Sys. Admin.
> wfroning at uop.edu


-- 
Will Froning
Unix Sys. Admin.
(209)946-7470
(209)662-4725
wfroning at uop.edu


More information about the freebsd-questions mailing list