[Samba] Unable to join domain I think.

Rowland Penny rpenny at samba.org
Tue Sep 13 07:36:29 UTC 2022

On 13/09/2022 03:16, Rob Campbell via samba wrote:
> [Mon Sep 12 21:56:43] [root at dc02~$] realm leave
> [Mon Sep 12 21:57:49] [root at dc02~$] realm list
> [Mon Sep 12 21:57:51] [root at dc02~$] net ads join -U Administrator
> Host is not configured as a member server.
> Invalid configuration.  Exiting....
> Failed to join domain: This operation is only allowed for the PDC of the
> domain.
> I run through the wiki steps to add a domain member then.
> [Mon Sep 12 21:58:12] [root at dc02~$] net ads join -U Administrator
> Enter Administrator's password:
> Failed to join domain: failed to connect to AD: No logon servers are
> currently available to service the logon request.
> [Mon Sep 12 21:58:19] [root at dc02~$] realm list
> home.rob-campbell.lan
>    type: kerberos
>    realm-name: HOME.ROB-CAMPBELL.LAN
>    domain-name: home.rob-campbell.lan
>    configured: kerberos-member
>    server-software: active-directory
>    client-software: winbind
>    required-package: winbind
>    required-package: libpam-winbind
>    required-package: samba-common-bin
>    login-formats: HOME\%U
>    login-policy: allow-any-login
> Not sure what's happening.  Is it joining the domain or is it not joining
> the domain?

I wouldn't mix the Samba tools with the ipa tools. What does 'net ads 
testjoin' show when run as root ?


More information about the samba mailing list