[Samba] Can I use net ads join without DNS

andy.marr at bt.com andy.marr at bt.com
Wed Sep 16 11:27:01 MDT 2009

 Also found in the debug output the following

[2009/09/16 18:20:09, 8] libsmb/namequery.c:(1644)
  get_sorted_dc_list: attempting lookup for name FGPREPROD.COM (sitename
NULL) using [ad

Which I'm guessing is where its getting the:
Bad option: ads
Failed to join domain: Invalid parameter

Error message.

Seems to be pointing to DNS again.


-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Sent: 16 September 2009 17:28
To: Marr,A,Andy,DGE62 C
Cc: samba at lists.samba.org
Subject: Re: [Samba] Can I use net ads join without DNS

On Wed, Sep 16, 2009 at 03:10:38PM +0100, andy.marr at bt.com wrote:
> Hi Samba people
> I'm trying to join a Solari10 server using Samba Version 3.0.33 server

> to an ADS. But the ADS is not in DNS.
> I thought I could get round this by putting the ADS IP in the servers 
> local hosts file, and telling the krb5.conf not to use dns but it 
> doesn't seem to work.
> 1. Can it be done ?
> 2. If it can how ?

Can you try -S <servername> as an argument to the net ads join?


More information about the samba mailing list