[Samba] Fwd: net ads join -> "The connection was refused"

Rowland Penny rpenny at samba.org
Fri Dec 16 11:27:10 UTC 2016


On Fri, 16 Dec 2016 12:08:05 +0100
Artur Moor via samba <samba at lists.samba.org> wrote:

> I don't want to join samba as DC, i am trying to join samba as member
> to AD.
> 
> My setup ist:
> DC: dc1.ad.interdekor.com.ua (10.0.140.2)
> NETBIOS NAME: INTERDEKOR
> 
> ------------------------
> SAMBA SERVER: 10.0.140.3
> ------------------------
> root at samba:~# uname -nrs
> FreeBSD samba.ad.interdekor.com.ua 11.0-RELEASE
> 
> root at samba:~# samba-tool -V
> 4.4.5
> 
> root at samba:~# cat /etc/resolv.conf
> search ad.interdekor.com.ua
> nameserver 10.0.140.2
> 
> root at samba:~# cat /etc/krb5.conf
> [libdefaults]
>   default_realm = AD.INTERDEKOR.COM.UA
>   dns_lookup_realm = true
>   dns_lookup_kdc = true
> 
> root at samba:~# cat /usr/local/etc/smb4.conf
> [global]
>   netbios name = SAMBA
>   realm = AD.INTERDEKOR.COM.UA
>   security = ads
>   workgroup = INTERDEKOR
> 
>   nmbd bind explicit broadcast = no
> 
>   use sendfile = true
> 
>   idmap config * : backend = tdb
>   idmap config * : range = 60000-69999
>   idmap config INTERDEKOR : backend = ad
>   idmap config INTERDEKOR : schema_mode = rfc2307
>   idmap config INTERDEKOR : range = 10000-59999
> 
>   winbind separator = +
>   winbind enum users = yes
>   winbind enum groups = yes
>   winbind use default domain = yes
>   winbind refresh tickets = yes
> 
>   restrict anonymous = 2
> 
>   log file = /var/log/samba4/log.%m
> 
> 

Try removing 'nmbd bind explicit broadcast = no', everything else looks
okay. 
What is the AD DC ? 
Is it running a firewall ?

Rowland




More information about the samba mailing list