Web lists-archives.com

Re: [Samba] samba-tool - password




On Sun, 10 Jun 2018 12:38:43 +0300
Alexei Rozenvaser via samba <samba@xxxxxxxxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba