Samba 3.0b2 + ADS

Will Froning wfroning at
Mon Aug 4 07:15:45 PDT 2003

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:
[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).

   workgroup = STK
   realm = stk.realm
   security = ads
   netbios name = MARMAR
   encrypt passwords = yes

I've been posting on samba at, but no solution.  

Please CC me on the reply, thanks a bunch.


Will Froning
Unix Sys. Admin.
wfroning at

More information about the freebsd-questions mailing list