Web lists-archives.com

Re: [Samba] Error NT_STATUS_CONNECTION_REFUSED samba@xxxxxxxxxxxxxxx)




On Wed, 20 Feb 2019 17:21:18 -0500
samba.x.eliezer613@xxxxxxxxxxxxxxx wrote:

> Hi, followed your github page. Near the end get...

It's not my github page, it's Louis's

>  cat /etc/netplan/01-netcfg.yaml
> cat: /etc/netplan/01-netcfg.yaml: No such file or directory

Cannot help you there, I always remove netplan, but perhaps Louis can
comment.

> 
> I am running ubuntu 18.04. Not sure if that is what your page is
> about.

You mean a document called 'full-howto-Ubuntu18.04-samba-AD_DC.txt'
doesn't give you a hint ;-)



> Question, why no workgroup

You are in an AD domain and no workgroups were found

> 
> # smbclient -L localhost -N
> Anonymous login successful
> 
>     Sharename       Type      Comment
>     ---------       ----      -------
>     netlogon        Disk     
>     sysvol          Disk     
>     IPC$            IPC       IPC Service (Samba 4.7.6-Ubuntu)
> Reconnecting with SMB1 for workgroup listing.
> Anonymous login successful
> 
>     Server               Comment
>     ---------            -------
> 
>     Workgroup            Master
>     ---------            -------
> 

At least you seem to have got it working now.

> Current /etc/samba/smb.conf
> # Global parameters
> [global]
>         netbios name = DC1
>         realm = DC1.INTERNAL
>         server role = active directory domain controller
>         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc,
> drepl, winbindd, ntp_signd, kcc, dnsupdate
>         workgroup = REDACTED
>         idmap_ldb:use rfc2307 = yes
> 
> [netlogon]
>         path = /var/lib/samba/sysvol/dc1.internal/scripts
>         read only = No
> 
> [sysvol]
>         path = /var/lib/samba/sysvol
>         read only = No
> 

And you are using Bind9, correctly I hope.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba