[Samba] Cannot authenticate the administrator account

Rowland Penny rowlandpenny at googlemail.com
Wed Apr 29 10:44:47 MDT 2015


On 29/04/15 17:31, Mike wrote:
> So close . . .
>
> Reprovision completed.
>
> Server Role: active directory domain controller
>
> Hostname: internal
>
> NetBIOS Domain: INTERNAL
>
> DNS Domain: internal.example.com
>
> DOMAIN SID: S-1-5-21-123456789-123456789-123456789
>
> ----------------------------------------------
>
> ]# hostname -f
> internal.example.com
>
> ]# hostname -s
> internal
>
> ]# hostname -d
>
> example.com
>
>

I will try again, your hostname is just one word, the domain name can 
and should be multiple words.

i.e. your hostname could be 'dc' and the domain name could be 
'internal.example.com', this would make your FQDN 'dc.internal.example.com'

With this, the last part of the provision output should be something 
like this:

Server Role:           active directory domain controller
Hostname:              dc
NetBIOS Domain:        INTERNAL
DNS Domain:            internal.example.com
DOMAIN SID:            S-1-5-21-3439746342-3860244441-329711412

The provision command would be something like this:

samba-tool domain provision --realm=internal.example.com 
--domain=INTERNAL --adminpass=XXXXXXXXXX --use-rfc2307 --server-role=dc

Rowland


More information about the samba mailing list