[Samba] Unable to join domain

Rowland Penny rpenny at samba.org
Fri Oct 8 08:03:32 UTC 2021


On Fri, 2021-10-08 at 09:46 +0200, L.P.H. van Belle via samba wrote:
> > -----Oorspronkelijk bericht-----
> > Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> > Rowland Penny via samba
> > Verzonden: vrijdag 8 oktober 2021 9:17
> > Aan: sambalist
> > Onderwerp: Re: [Samba] Unable to join domain
> > 
> > On Thu, 2021-10-07 at 21:35 -0400, Rob Campbell wrote:
> > > I created a new vm and was able to get through the wiki
> > > successfully.  A few notes.
> > > 
> > > samba-tool dns zonecreate <Your-AD-DNS-Server-IP-or-hostname>
> > > 0.99.10.in-addr.arpa didn't work.  I needed to do samba-tool dns
> > > zonecreate <Your-AD-DNS-Server-IP-or-hostname> 0.99.10.in-
> > > addr.arpa
> > > -U Administrator.  I was logged into the server as root but it
> > > tries
> > > to authenticate as the user you're logged in with.
> 
> I only have one question on this part. 
> 
> Did you use? : 
> sudo su
> Or 
> sudo su -
> 
> If the first, try again with sudo su -
> @Rowland, maybe its good to mention people need to use 
> 
> sudo samba-tool
> Or use 
> sudo su -
> 

It doesn't really matter, samba-tool will use the logged on user unless
you specify the user with '-U', so logging in as root or by using sudo
is the same thing, it uses 'root' as the user.

Rowland
 




More information about the samba mailing list