[Samba] Fwd: Samba-3.0.34 can ADS join but not non-ADS join.

Jeremiah Martell inlovewithgod at gmail.com
Tue Jul 28 11:07:13 MDT 2009

I haven't had any responses to this yet.

Is there any other information that would help diagnose the problem?

To recap:
Using the same network, the same computer, and the same smb.conf (with
the exception of an added interefaces line for Samba-3.0.34) I am able
to non-ADS join with Samba-3.0.14a but not Samba-3.0.34.
Samba-3.0.34 first complained about an interfaces line in my smb.conf.
But after adding the interfaces line joining still fails with "cannot
join as standalone machine".

Any suggestions? Any other information I need to provide?

 - Jeremiah

---------- Forwarded message ----------
From: Jeremiah Martell <inlovewithgod at gmail.com>
Date: Mon, Jul 27, 2009 at 9:04 AM
Subject: Samba-3.0.34 can ADS join but not non-ADS join.
To: samba at lists.samba.org

I was using Samba-3.0.14a perfectly fine.
Now, I'm trying to use Samba-3.0.34.

I can do an "ADS" join fine with Samba-3.0.34, but I cannot do my old
non-ADS join anymore. Winbindd starts and stays running fine, but when
I run net to do the non-ADS join I'm running into a strange "interfaces" issue.

It now wants an "interfaces" line in the smb.conf file when I attempt
to join a domain (using all the same old smb.conf settings I was with

So I give an "interfaces = eth0" in my smb.conf file, but it does not
join. It fails with a "cannot join as standalone machine".

Running net with debug level 3 during this gives two interesting things:

It cannot load ANSI_X3.4-1968.so

And this...

[2009/07/24 14:27:57, 3] source/lib/util.c:interpret_addr(1310)
 sys_gethostbyname: Unknown host. eth0
[2009/07/24 14:27:57, 2] source/lib/interface.c:interpret_interface(130)
 can't determine netmask for eth0
[2009/07/24 14:27:57, 0] source/lib/interface.c:load_interfaces(229)
 WARNING: no network interfaces found
[2009/07/24 14:27:57, 3] source/libsmb/namequery.c:get_dc_list(1557)
 get_dc_list: preferred server list: ", abc.example.com"
[2009/07/24 14:27:57, 1] source/libads/cldap.c:recv_cldap_netlogon(247)
 Failed to parse cldap reply
[2009/07/24 14:27:57, 3] source/libads/ldap.c:ads_try_connect(194)
 ads_try_connect: CLDAP request 123.456.789.0 failed.
cannot join as standalone machine
[2009/07/24 14:27:57, 2] source/utils/net.c:main(1088)
 return code = -1

Using Wireshark shows multiple DNS lookups for "eth0.example.com", and a single
CLDAP search, (&(&(DnsDomain=06:00:00:00)(Host=ABCABC))(NtVer=06:00:00:00)),
that was successful but with no results.

I ruled out any network issues because I can still non-ADS join on
the same machine on the same network with my old Samba-3.0.14a code.

I looked at the latest Samba-3.4.0 and noticed that the interface.c
and interfaces.c are pretty different from Samba-3.0.34. Is this a known bug
that was fixed in revisions post-Samba-3.0.34? Am I not understanding the
"interfaces" line in my smb.conf file correctly?

I'm not sure what the "CLDAP request failed" and "cannot join as
standalone machine" would suggest.

Any other questions/suggestions?


- Jeremiah Martell

- Jeremiah Martell

More information about the samba mailing list