NAS-128571 / 24.10 / Add initial round of changes for SSSD support (#13623)
This commit provides equivalent functionality from SSSD that
we were getting from nss-pam-ldapd (nslcd)
* remove nslcd from build and runtime requirements
* add truenas-sssd to build and runtime requirements
* slightly refactor LDAP plugin to restart new sssd service
rather than nslcd service.
* remove mako file for nslcd and create one for sssd
* remove murmurhash3 python implementation and use one provided
by sssd.
TODO:
- add user and group UI caching for LDAP users
- improve SSSD status checks
- add migration to comment-out auxiliary parameters for LDAP plugin
NAS-128399 / 24.10 / More nfs failover fixes (#13598)
Changes in support of NFS failover in runtime code:
* Changes to allow NFS clients using locks to survive failover
* Add code to support moving the NFS status directory to the system dataset.
Changes to runtime code to improve NFS resiliency:
* Increase timeout on NFS service call from 5 to 10 seconds. NFS takes about 5 sec to start.
Changes to CI tests:
* Add check for nfs in the boot_pool.
* Fix flake8 complaint.
* Improve error reporting for service state check.
* Added check for NFS dataset in first boot check in test_001_ssh.py.
* Some simple refactoring in test_300_nfs.py.
---------
Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
Add initial round of changes for SSSD support
This commit provides equivalent functionality from SSSD that
we were getting from nss-pam-ldapd (nslcd)
* remove nslcd from build and runtime requirements
* add truenas-sssd to build and runtime requirements
* slightly refactor LDAP plugin to restart new sssd service
rather than nslcd service.
* remove mako file for nslcd and create one for sssd
* remove murmurhash3 python implementation and use one provided
by sssd.
TODO:
- add user and group UI caching for LDAP users
- improve SSSD status checks
- add migration to comment-out auxiliary parameters for LDAP plugin
NAS-128546 / 24.10 / Improvements requested by UI team for new enclosure.dashboard (#13622)
* add drive_bay_number key to enclosure.dashboard
* add enclosure info in disk.get_unused
Strip whitespace from smb_options before registry insertion (#13621)
This was an oversight in angelfish when we first switched to
using registry for global parameters. Will not be backported to
EE because we are removing this portion of SMB configuration from
registry in that release.
Strip whitespace from smb_options before registry insertion
This was an oversight in angelfish when we first switched to
using registry for global parameters. Will not be backported to
EE because we are removing this portion of SMB configuration from
registry in that release.
Add suggested improvements:
* Rename class NFSPath to NFSServicePathInfo and fixup usage in status.py and local.conf.mako
* Move improved name_to_id_conversion to standalone private method
* Update NFS state directory initialization
NAS-128506 / 24.10 / Fix test iscsi auth network (#13618) (#13620)
* Make tests capable less susceptible to network environment
* Add sudo before iscsiadm for non-root test runners
(cherry picked from commit dbbd64f0874452c34715f2244ac027be20106094)
Co-authored-by: bmeagherix <118192357+bmeagherix at users.noreply.github.com>