[Samba] Can't find machine account
Robert A Wooldridge
bob.wooldridge at edm-inc.com
Thu Jul 18 16:28:21 UTC 2019
On 07/18/2019 11:04 AM, Rowland penny via samba wrote:
> I have never had to deal with a W2K AD server, but from my
> understanding W2K didn't have the DNS records in AD, so I wondered if
> yours didn't either. I am running out of ideas now.
> Have you tried Tim's patch ?
> Just in case you don't know how to apply the patch, it is pretty
> simple, it just involves commenting out three lines, so it might be
> easier to open 'join.py
> (/usr/lib/python2.7/dist-packages/samba/join.py on my DC), find these
> if ctx.dns_backend != "NONE":
This seems to have worked. I got a successful join. But samba is not
running. When I do systemctl status samba I get:
Unit samba.service could not be found.
When I do systemctl status smbd I get:
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor
Active: failed (Result: exit-code) since Thu 2019-07-18 11:21:22
CDT; 6min ago
Process: 1002 ExecStart=/usr/sbin/smbd --foreground
--no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1002 (code=exited, status=1/FAILURE)
Jul 18 11:21:22 athena systemd: Starting Samba SMB Daemon...
Jul 18 11:21:22 athena smbd: [2019/07/18 11:21:22.721995, 0]
Jul 18 11:21:22 athena smbd: server role = 'active directory
domain controller' not compatible with running smbd standalone.
Jul 18 11:21:22 athena smbd: You should start 'samba' instead,
and it will control starting smbd if required
Jul 18 11:21:22 athena systemd: smbd.service: Main process exited,
Jul 18 11:21:22 athena systemd: smbd.service: Failed with result
Jul 18 11:21:22 athena systemd: Failed to start Samba SMB Daemon.
More information about the samba