[Samba] ERROR:connection refused after provision

Rowland Penny rpenny at samba.org
Tue Nov 8 15:46:50 UTC 2016



See inline comments:

On Tue, 8 Nov 2016 09:08:34 -0500 (CST)
Felipe_G0NZÁLEZ_SANTIAG0 via samba <samba at lists.samba.org> wrote:

> Hello, I'm installing Samba4 AD from repo Ubuntu16.04. These are the
> steps I've applied: 
> 
> 
> 
>     1. editing fstab in EXT3

Why are you using ext3 ? 
 
>     2. install dependencies ( acl attr quota fam libnet-ldap-perl ) 
>     3. install krb5-user, bind9, ntp, winbind, ldbtools and samba. 
>     4. remove smb.conf, if exists 
>     5. samba-tool provision

How are provisioning ?
 
>     6. Restart services bind9, ntp and samba 
>     7. config Bind9 (add 'include' in /etc/bind/named.conf.local ) 

Please post your bind9 conf files.

>     8. set permissions to bind9 
>     9. set nameserver in resolv.conf

What are you setting the nameserver to ?
 
>     10. edit apparmor profile 
>     11. config Kerberos ( ln
> -sf /var/lib/samba/private/krb5.conf /etc/krb5.conf ) 12. set ntp
> permissions 13. config ntp.conf 
> 
> THEN::: 
> add reverse zone 
> #samba-tool dns zonecreate 127.0.0.1 3.53.10.in-addr.arpa
> -UAdministrator%free.2016 
>

Try it like this:

samba-tool dns zonecreate 127.0.0.1 3.53.10.in-addr.arpa -UAdministrator

Rowland



More information about the samba mailing list