Active Directory join fails time data does not match format

ojauch

Cadet
Joined
Jul 30, 2023
Messages
1
I setup a new TrueNAS Core instance. I am using TrueNAS-13.0-U5.3. I'm trying to join an existing Active Directory domain. I configured the dns and ntp server of the domain. When I'm trying to join the domain in the Active Directory tab, I'm getting the following exception and the join doesn't work:

Code:
Fehler: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/activedirectory.py", line 720, in start
    kt_id = await self.middleware.call('kerberos.keytab.store_samba_keytab')
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279, in call
    return await self._call(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/kerberos.py", line 1136, in store_samba_keytab
    keytab_list = await self._ktutil_list()
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/kerberos.py", line 980, in _ktutil_list
    'date': time.strptime(fields[3], '%Y-%m-%d'),
  File "/usr/local/lib/python3.9/_strptime.py", line 562, in _strptime_time
    tt = _strptime(data_string, format)[0]
  File "/usr/local/lib/python3.9/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data 'replica\\' does not match format '%Y-%m-%d'


Can you tell me how to solve this issue?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I setup a new TrueNAS Core instance. I am using TrueNAS-13.0-U5.3. I'm trying to join an existing Active Directory domain. I configured the dns and ntp server of the domain. When I'm trying to join the domain in the Active Directory tab, I'm getting the following exception and the join doesn't work:

Code:
Fehler: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/activedirectory.py", line 720, in start
    kt_id = await self.middleware.call('kerberos.keytab.store_samba_keytab')
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279, in call
    return await self._call(
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/kerberos.py", line 1136, in store_samba_keytab
    keytab_list = await self._ktutil_list()
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/kerberos.py", line 980, in _ktutil_list
    'date': time.strptime(fields[3], '%Y-%m-%d'),
  File "/usr/local/lib/python3.9/_strptime.py", line 562, in _strptime_time
    tt = _strptime(data_string, format)[0]
  File "/usr/local/lib/python3.9/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data 'replica\\' does not match format '%Y-%m-%d'


Can you tell me how to solve this issue?
Can you PM me a debug please.
 
Top