[Samba] ADS domain member: winbind fails
Rowland Penny
rpenny at samba.org
Fri Dec 30 16:01:12 UTC 2016
On Fri, 30 Dec 2016 16:42:46 +0100
L.P.H. van Belle <belle at bazuin.nl> wrote:
> Hai Rowland,
>
> Oeps.. wrong one, but now he knows. :-/
> See below.
>
OK, check and alter where required the following files:
/etc/hosts
# IPv4 and IPv6 localhost aliases
127.0.0.1 localhost
::1 localhost
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
10.0.0.221 main.arbeitsgruppe.secret.tld main
That is all it should contain, provided 10.0.0.221 is the ipaddress of
main.arbeitsgruppe.secret.tld
/etc/hostname
This should just contain the short hostname 'main'
/etc/resolv.conf
search arbeitsgruppe.secret.tld
nameserver 10.0.0.224
This is provided 10.0.0.224 is the ipaddress of an AD DC running a dns
server.
/etc/krb5.conf
[libdefaults]
default_realm = ARBEITSGRUPPE.SECRET.TLD
dns_lookup_realm = false
dns_lookup_kdc = true
If everything is setup as above you should be able to join the gentoo
domain member to the domain and then start the nmbd, smbd and winbind
deamons.
Rowland
More information about the samba
mailing list