Hello,
We have had a working FreeIPA/IdM-setup (except for NFSv4) on our NAS both in the 22.x and 23x release series. To be able to use kerberized NFSv4 and SMB is a big deal for us.
In the old config Ldap was configured to use kerberos-realm we added manually and keytab which was fetched from FreeIPA/IdM.
After upgrading to 24.10, we can no longer authenticate against the ldap-server, via the old kerberos credentials. I have tried wiping the configuration with a new hostname, to test the new ipa-join feature with no luck, as the documented guide:
“Configuring FreeIPA” from TrueNAS Stable Version Documentation (24.10).
When following the guide, we get the following error:
[UNWILLING_TO_PERFORM]: Server is unwilling to perform: Unauthenticated binds are not allowed
When we configure eveything like we did in 22.x and 23.x we get this error:
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 533, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/ldap.py", line 681, in do_update
await self.__start(job, ds_type)
File "/usr/lib/python3/dist-packages/middlewared/plugins/ldap.py", line 909, in __start
ipa_config = await self.ipa_config(ldap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/ldap.py", line 855, in ipa_config
username = conf['binddn'].split(',')[0].split('=')[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
I find the ldap-join described in the guide a bit odd and confiusing, why don’t just give an AD/ldap+kerberos/and FreeIPA config-menu.
Anyone else running a working FreeIPA-setup. Our main FreeIPA servers are running 4.12.2, and RockyLinux.