Guys (and gals and everything in-between), I'm stumped.
I'm an MSP and recently took over a new client. The prior IT left on not so great circumstances, and I'm inheriting their mess. One of my recent projects is to crack their DC. All of my information tells me the DC is managed by an Ubuntu System running Samba. I was forced to reset the password for the Ubuntu system, but I do not think [I could be wrong, not an expert at Linux] that would be causing my issue, especially since the issue started before I did so.
It started simply enough, was trying to join a new computer to the domain controller. Received an error indicating that there was no DC. This is a lie, as there are other computers already joined to the DC that are functional, had the DC been down or non functional they would have had login issues long before this.
I then began to investigate the DC, which is when I learned it is supposedly hosted on the Ubuntu system. I found the system hosted on a VM machine, and it seems to be up and running. However, when I logged in, one of the first things I did was try to run the samba command, simply to make sure it was installed. I received an error saying Samba was not installed, but could be installed via sudo apt install samba. Where this system is functional and the DC is not failing to log in nor causing other issues, the only thing I can assume is that it must be hosted on a different system? With that said, EVERYTHING points to this machine. I can connect DNS to it, and once, just once, I was able to access it utilizing Active Directory Users and Computers, so I must be doing something wrong. The computer of course was rebooted after that, disconnecting me and I have not been able to log in again. DNS is functional, and lists all OU's.
End goal here is to yank the data off the system (whatever system that might be) and get a new Windows AD and import the data. But, I have to be able to get back into the system to do so.
I've tried every User who I have passwords and accounts for. My account has full access to EVERYTHING, every administrative group has been added to it (I verified that the one time I was able to access the system), and I have complete admin rights when I access one of the domain joined systems. When I attempt to connect to the domain controller I receive an error The domain ad.SOMEDOMAIN.com [obv. not the real domain name] could not be found because: Access is denied.
I've spent a good... oh 30 hours on this, at least. A lot of it during my own time after work because, well, I don't like to be bested. But this system... it's bested me. I have no idea where else to go, or what else to do.
Please, please tell me some good samaritan out there is willing to help me figure this out, or at least give me a direction to go...
I'm attempting to access the system from a Windows 10 workstation with RSAT installed. I have verified the DNS is set correctly, and am attempting this from a system on the domain already. It used to work, my boss was able to get into it initially, but by the time I got access this issue arose.
There is a script on the old Admins desktop called ADUC, this seems to be calling up the active directory in some way, but when I try to authenticate using the script it tells me the password is wrong.
script in question: ............ @echo off set /p username="Enter Username@example.com: "
echo listen up! echo %username%
runas /netonly /user:%username% "mmc %SystemRoot%\system32\dsa.msc"
rem runas /netonly /user:[REDACTED]@ad.[REDACTED].com "mmc %SystemRoot%\system32\dsa.msc"
pause
....................... Yes, the 'ad' portion is part of their domain name.
Thank you for looking!!!