[Samba] Unable to join AD (FreeBSD)

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


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

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

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


   workgroup = CPOLDOM
   netbios name = BSDWEB
   realm = CPOL.DOM

   security = ads
   encrypt passwords = yes
   password server =


   default_realm = CPOL.DOM

   .cpol.dom = CPOL.DOM
   cpol.dom = CPOL.DOM

   CPOL.DOM = {
      kdc =
      default_domain = cpol.dom


More information about the samba mailing list