[Samba] Failing to join an ADS domain

Olivier Cherrier oc at symacx.com
Tue Jul 7 10:40:03 GMT 2009


On Tue, Jul 07, 2009 at 05:22:53AM -0400, oc at symacx.com wrote:
> 	Hi,
> 
> I am trying to join a microsoft AD domain using RHEL 5.3. I tried with the 
> default Samba release (provided by redhat) with no luck.  I've just upgraded 
> to Samba 3.3.6 (using http://ftp.sernet.de/pub/samba/recent/rhel/5/x86_64/) 
> but it still fails.
> The AD domain is "example.domain.org" and has its own DNS servers.
> My /etc/resolv.conf file redirects DNS queries to the AD DC DNS servers and it 
> works OK.

	Hi,

Here are some additions:
The /etc/resolv.conf file:
	domain example.domain.org
	nameserver DC1
	nameserver DC2
	search example.domain.org

I am using NTP and servers are in sync.
Attached is a backtrace of the generated core.

Thanks,

-- 
Olivier Cherrier - Symacx.com
mailto:oc at symacx.com
-------------- next part --------------
(gdb) bt
#0  0x00002adc2cb09d80 in strlen () from /lib64/libc.so.6
#1  0x00002adc2cad7b19 in vfprintf () from /lib64/libc.so.6
#2  0x00002adc2cafa52d in vasprintf () from /lib64/libc.so.6
#3  0x00002adc2a2c7334 in dbgtext (
    format_str=0x3120202c33353a30 <Address 0x3120202c33353a30 out of bounds>) at lib/debug.c:1081
#4  0x00002adc2a48652c in process_dc_dns (mem_ctx=0x2adc3d9f5070, 
    domain_name=0x2adc3d9f5f10 "EXAMPLE.DOMAIN.ORG", flags=1073745937, dclist=0x2adc3d9f6e90, num_dcs=5, 
    info=0x7fff809bce28) at libsmb/dsgetdcname.c:894
#5  0x00002adc2a4872c6 in dsgetdcname (mem_ctx=0x2adc3d9f5070, msg_ctx=0x0, 
    domain_name=0x2adc3d9f5f10 "EXAMPLE.DOMAIN.ORG", domain_guid=0x0, site_name=0x0, flags=1073745937, 
    info=0x7fff809bd6f8) at libsmb/dsgetdcname.c:1107
#6  0x00002adc2a4cf760 in libnet_Join (mem_ctx=0x2adc3d9f5070, r=0x2adc3d9f5240)
    at libnet/libnet_join.c:1749
#7  0x00002adc2a17c968 in net_ads_join (c=0x2adc3d99d650, argc=0, argv=0x2adc3d99dae8)
    at utils/net_ads.c:1269
#8  0x00002adc2a1a4136 in net_run_function (c=0x2adc3d99d650, argc=1, argv=0x2adc3d99dae0, 
    whoami=0x2adc2a4df8f0 "net ads", table=0x7fff809bd820) at utils/net_util.c:573
#9  0x00002adc2a17b4e0 in net_ads (c=0x2adc3d99d650, argc=1, argv=0x2adc3d99dae0) at utils/net_ads.c:2550
#10 0x00002adc2a1a4136 in net_run_function (c=0x2adc3d99d650, argc=2, argv=0x2adc3d99dad8, 
    whoami=0x2adc2a4de34f "net", table=0x2adc2a810d20) at utils/net_util.c:573
#11 0x00002adc2a17abe0 in main (argc=7, argv=0x7fff809be3f8) at utils/net.c:768
(gdb) 


More information about the samba mailing list