Scale can't join AD.

akong

Dabbler
Joined
Mar 5, 2014
Messages
26
Hello,
I install truenas scale done.It's fresh install not upgrade.I want join active directory and input all field.But when I click save.It's will show error message.
[Errno 2] No such file or directory: '/var/log/samba4/domain_testjoin_1660183592.log'
錯誤: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 411, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 446, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory.py", line 629, in start ret = await self._net_ads_testjoin(workgroup, ad) File "/usr/lib/python3/dist-packages/middlewared/plugins/activedirectory.py", line 825, in _net_ads_testjoin with open(f"{SMBPath.LOGDIR.platform()}/domain_testjoin_{int(datetime.datetime.now().timestamp())}.log", "w") as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/log/samba4/domain_testjoin_1660183592.log'
I don't know what is this problem.How to fix it?
My scale version is TrueNAS-SCALE-22.02.3
 

akong

Dabbler
Joined
Mar 5, 2014
Messages
26
I found it.It's no samba4 directory.A manual create this directory.Please fix it
 
Top