[Samba] Unable to join domain?

Rowland penny rpenny at samba.org
Sat Feb 6 09:55:20 UTC 2021


On 05/02/2021 22:18, Dan Egli wrote:
> # net join -U Adminisrator%%<PASSWORD>
> Failed to join domain: failed to find DC for domain EGLIFAMILY - The 
> object was not found.
>
> # kinit administrator
> kinit: krb5_parse_name_flags: unable to find realm of host Athena
>
> Athena is the machine I'm trying to join into the domain, while Janus 
> is the machine I ran samba-tool domain provision on.
>
> Here's my smb.conf for Athena - Sans comments. Not much besides 
> printers yet because I wanted to get the machine joined, THEN 
> establish the shares.
>
> [global]
>    workgroup = eglifamily
>    server string = Athena
>    server role = member server
>    hosts allow = 192.128.10. 192.168.43. 127.
>    log file = /var/log/samba/log.%m
>    max log size = 50
>    realm = eglifamily.name
>    wins server = 192.168.10.3
>    wins proxy = yes
>    dns proxy = yes
>

Either you are using sssd or your smb.conf is incomplete, you can no 
longer sssd with Samba, you must use winbind, Either way, I suggest your 
read this:

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

Rowland





More information about the samba mailing list