[Samba] samba-tool - password

Rowland Penny rpenny at samba.org
Sun Jun 10 10:20:14 UTC 2018


On Sun, 10 Jun 2018 12:38:43 +0300
Alexei Rozenvaser via samba <samba at lists.samba.org> wrote:

> Hello
> 
> When I run following command on my samba DC:
> 
> sudo samba-tool dns serverinfo localhost (or other DC on same domain)
> 
> samba-tool asks for:
> 
> Password for [MyAD-DomainName\root]:
> 
> But there is no root user at the domain.
> Domain Administrator name at mu domain is "admin".
> If I enter admin's password for Password for [MyAD-DomainName\root]:
> promt - I get:
> 
> Connecting to DNS RPC server 127.0.0.1 failed with (-1073741715, 'The
> attempted logon is invalid. This is either due to a bad username or
> authentication information.')
> 
> How can I solve the problem?
> 

Stick '-U <an_AD_admin_user>' on the end of the command.

This user could be 'Administrator' or a user that is a member of Domain
Admins or Administrators

Of course you could have found this out by running 'samba-tool dns
serverinfo --help'

Rowland



More information about the samba mailing list