[Samba] Unable to join AD (FreeBSD)

Josh Kropf josh at cpol.com
Tue Nov 9 21:46:40 GMT 2004


Hi,

I am trying to get samba 3.0.7 working with our win2k DC. I installed samba
from the ports collection, so the kerberos library looks to be the heimdel
version.

I can use kinit to create a ticket and it authenticates against the DC just
fine. However when I attempt to use "net ads join" it fails with the
following response:

[2004/11/09 16:32:30, 0] utils/net_ads.c:ads_startup(183)
  ads_connect: Unknown error: -1765328343

Also note running "net ads join" without the -U parameter simply prompts for
a password for "root" even though I have created a ticket successfully with
kinit.

I have configured krb5.conf and smb.conf with the minimal items.

smb.conf

[global]
   workgroup = CPOLDOM
   netbios name = BSDWEB
   realm = CPOL.DOM

   security = ads
   encrypt passwords = yes
   password server = 192.168.1.10

krb5.conf

[libdefaults]
   default_realm = CPOL.DOM

[domain_realm]
   .cpol.dom = CPOL.DOM
   cpol.dom = CPOL.DOM

[realms]
   CPOL.DOM = {
      kdc = 192.168.1.10
      default_domain = cpol.dom
   }

Thanks,
Josh



More information about the samba mailing list