[Samba] Samba AD - Join MAC
Rowland Penny
rpenny at samba.org
Thu Apr 19 15:31:08 UTC 2018
On Thu, 19 Apr 2018 17:16:41 +0200
Micha Ballmann via samba <samba at lists.samba.org> wrote:
> Yes,
>
> you re right. Im using the *Samba Internal DNS Back End*. This is my
> config:
>
> # smb.conf
>
> [global]
> netbios name = DC1
> realm = DOMAIN.DE
> workgroup = DOMAIN
> dns forwarder = <IP FIRST DNS SERVER> <IP SECOND DNS SERVER>
> server role = active directory domain controller
> idmap_ldb:use rfc2307 = yes
> log level = 3
> tls enabled = yes
> tls keyfile = tls/key.pem
> tls certfile = tls/cert.pem
> tls cafile = tls/ca.pem
>
> [netlogon]
> path = /usr/local/samba/var/locks/sysvol/domain.de/scripts
> read only = No
>
> [sysvol]
> path = /usr/local/samba/var/locks/sysvol
> read only = No
>
> # resolv.conf
>
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8)
> # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
> OVERWRITTEN nameserver <IP DC2>
> nameserver <IP DC3>
>
Not sure what OS you are running, but I would be running this on debian
'apt-get purge resolvconf' and then setting up /etc/resolv.conf
manually.
Do you have a line in /etc/hosts that starts '127.0.1.1' ? If so, it
probably also contains the FQDN & short hostname of the DC.
If the line is as I described, change the '127.0.1.1' to the DCs
ipaddress. If it doesn't, then remove the line and add a line like this:
DC_IP DC_FQDN DC_SHORTHOSTNAME
Rowland
More information about the samba
mailing list