Web lists-archives.com

Re: [Samba] SAMBA failed join domain DC

Il 20/02/2018 12:47, Rowland Penny via samba ha scritto:
On Tue, 20 Feb 2018 14:10:16 +0500
"denis.shigapov" <denis.shigapov@xxxxxxxxxxxxxxx> wrote:

It seems that the problem starts here:

Could not find machine account in secrets database

Yet near the top there is: Setting up secrets.ldb

It seems that either 'secrets.ldb' doesn't contain the required info or
'vas.lah' doesn't have the required permissions to read it.

You also shouldn't need to set the DC to join to, Samba can find a DC
to use.

Is it possible you could try the join command like this:

samba-tool domain join EXAMPLE DC -UAdministrator --password=password
--realm=EXAMPLE.RU --site=SITE2


i have a similar issue i think
tryed this:

samba-tool domain join ADCOMLOCAL DC

and this is what i get

Finding a writeable DC for domain 'ADCOMLOCAL'
Found DC zeus.adcomlocal.local
Password for [administrator@ADCOMLOCAL.LOCAL]:
workgroup is ADCOMLOCAL
realm is adcomlocal.local
ERROR(<class 'samba.join.DCJoinException'>): uncaught exception - Can't join, error: Not removing account ZEUS$ which looks like a Samba DC account maching the password we already have. To override, remove secrets.ldb and secrets.tdb   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 661, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 1474, in join_DC
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 1371, in do_join
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 270, in cleanup_old_join
  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 239, in cleanup_old_accounts
    % ctx.samname)

Questa email è stata esaminata alla ricerca di virus da AVG.
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba