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? -- Alexei Rozenvaser
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
Sorry about my pretty stupid question :-( I should have been dug a bit deeper... And I actually discoverer the -U parameter shortly after sending the mail to the list. But I didn't know how to cancel it... Sorry about that... On Sun, Jun 10, 2018 at 1:20 PM Rowland Penny via samba <samba at lists.samba.org> wrote:> > 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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- Alexei Rozenvaser