[Samba] Samba 4 AD - Samba Fails to Start, hdb_samba4_create_kdc (setup KDC database) failed

JS it at cliffbells.com
Sun Jan 3 10:31:44 UTC 2016


Andrew Bartlett <abartlet <at> samba.org> writes:

 
> 
> What does 'samba-tool dbcheck' say?  

Running "sudo samba-tool dbfix" produces the following Python error:

sudo samba-tool dbcheck
ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out
of range
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 120,
in run
    reset_well_known_acls=reset_well_known_acls)
  File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 87, in
__init__
    dnsadmins_sid = ndr_unpack(security.dom_sid, res[0]["objectSid"][0])

Appreciate you joining the conversation Andrew, do you think CrashPlan
corrupted this database?  I can't think of anything else I could have done
that would've caused such a drastic failure and would like to know so I
don't repeat the blunder in the future, this has been a royal PITA.

JS







More information about the samba mailing list