I am not really seeing what it could possibly be
Here is the last of my log:
Code:
[2024/03/11 12:32:20] (WARNING) DirectoryServices.get_state():176 - ACTIVEDIRECTORY: setting service to DISABLED due to invalid config
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/directoryservices.py", line 166, in get_state
return await self.middleware.call(f'{svc}.get', 'DS_STATE')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 181, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/cache.py", line 217, in get
self.get_timeout(key)
File "/usr/lib/python3/dist-packages/middlewared/plugins/cache.py", line 257, in get_timeout
raise KeyError(f'{key} has expired')
KeyError: 'DS_STATE has expired'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory_/health.py", line 174, in started
verrors.check()
File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] activedirectory_update.bindname: Bind credentials or kerberos keytab are required to join an AD domain.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/plugins/directoryservices.py", line 171, in get_state
res = await self.middleware.call(f'{srv.value}.started')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory_/health.py", line 177, in started
raise CallError('Automatically disabling ActiveDirectory service due to invalid configuration',
middlewared.service_exception.CallError: [EINVAL] Automatically disabling ActiveDirectory service due to invalid configuration
[2024/03/11 12:32:21] (DEBUG) ActiveDirectoryService.start():804 - Updating SMB workgroup to DOMAIN_NAME
[2024/03/11 12:32:22] (DEBUG) ActiveDirectoryService.start():820 - Test join to DOMAIN_NAME.NET failed. Performing domain join.
[2024/03/11 12:32:23] (ERROR) middlewared.job.run():440 - Job <bound method ActiveDirectoryService.start of <middlewared.plugins.activedirectory.ActiveDirectoryService object at 0x7f4ac6667490>> failed: CallError('kinit with principal [HOST_NAME$@DOMAIN_NAME.NET] failed: Using specified cache: /var/run/middleware/krb5cc_0\nUsing principal: HOST_NAME$@DOMAIN_NAME.NET\nkinit: Preauthentication failed while getting initial credentials\n')
[2024/03/11 12:42:27] (DEBUG) EtcService.generate():433 - No new changes for /etc/avahi/avahi-daemon.conf
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/common-account
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/common-auth
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/common-password
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/common-session-noninteractive
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/common-session
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/security/pam_winbind.conf
[2024/03/11 12:42:29] (ERROR) ServiceService.stop():252 - Service 'dscache' running after stop
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/smb4.conf
[2024/03/11 12:42:29] (DEBUG) EtcService.generate():433 - No new changes for /etc/avahi/avahi-daemon.conf
[2024/03/11 12:42:38] (DEBUG) EtcService.generate():433 - No new changes for /etc/security/pam_winbind.conf
[2024/03/11 12:42:39] (DEBUG) EtcService.generate():433 - No new changes for /etc/nfs.conf.d/local.conf
[2024/03/11 12:42:39] (DEBUG) EtcService.generate():433 - No new changes for /etc/default/rpcbind
[2024/03/11 12:42:39] (DEBUG) EtcService.generate():433 - No new changes for /etc/idmapd.conf
[2024/03/11 12:42:39] (DEBUG) EtcService.generate():433 - No new changes for /etc/exports
[2024/03/11 12:42:41] (DEBUG) EtcService.generate():433 - No new changes for /etc/pam.d/sshd
[2024/03/11 12:53:08] (DEBUG) EtcService.generate():433 - No new changes for /etc/hosts
[2024/03/11 12:53:08] (DEBUG) EtcService.generate():433 - No new changes for /etc/nscd.conf
[2024/03/11 12:53:09] (DEBUG) EtcService.generate():433 - No new changes for /etc/avahi/avahi-daemon.conf
The only thing I could think of is that I had 3 DNS servers listed in my network options
DC01, DC02, and a backup one which is a pihole.