truenas
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| truenas [2025/12/19 19:59] – [FreeIPA/Samba integration] ben | truenas [2025/12/19 21:55] (current) – [FreeIPA/Samba integration] ben | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This was more complicated than it probably should have been due to the IPA domain not matching the truenas host domain, I think. | This was more complicated than it probably should have been due to the IPA domain not matching the truenas host domain, I think. | ||
| + | * Remove DNS for the host from freeipa if setup previously, and connect to the truenas by IP for the next steps | ||
| * Setup FreeIPA servers for Samba, run the following on all servers: <code bash> | * Setup FreeIPA servers for Samba, run the following on all servers: <code bash> | ||
| dnf install ipa-server-trust-ad | dnf install ipa-server-trust-ad | ||
| Line 13: | Line 14: | ||
| * Primary KDC: pick one of the IPA servers | * Primary KDC: pick one of the IPA servers | ||
| * KDC/admin servers/ | * KDC/admin servers/ | ||
| - | * Add a '' | ||
| * Configure Directory Services | * Configure Directory Services | ||
| * Configuration type: IPA | * Configuration type: IPA | ||
| Line 22: | Line 22: | ||
| * Target Server: pick one of the IPA servers | * Target Server: pick one of the IPA servers | ||
| * TrueNAS hostname: short hostname | * TrueNAS hostname: short hostname | ||
| - | * Domain: | + | * Domain: |
| * Base DN: dc=ipa, | * Base DN: dc=ipa, | ||
| * Validate Certificates | * Validate Certificates | ||
| Line 29: | Line 29: | ||
| * Domain: ipa.sihnon.net | * Domain: ipa.sihnon.net | ||
| * Rest of the attributes at default | * Rest of the attributes at default | ||
| - | * Edit '' | + | * Verify the Host object, cifs/nfs service accounts, and DNS records have been created in FreeIPA with the jellybean domain |
| - | [libdefaults] | + | * Disable directory services and change |
| - | dns_lookup_realm = false # change from true | + | |
| - | dns_lookup_kdc = false # change from true | + | |
| - | + | ||
| - | [domain_realms] | + | |
| - | # Add these two lines | + | |
| - | | + | |
| - | .jellybean.sihnon.net | + | |
| - | </ | + | |
| * Restart '' | * Restart '' | ||
| + | * Verify that '' | ||
| When connecting from a non-domain joined Windows, it won't prompt for credentials and will fail. Must explicitly map a drive, using IPA domain creds first. Subsequent connections to the same hostname will reuse the credentials, | When connecting from a non-domain joined Windows, it won't prompt for credentials and will fail. Must explicitly map a drive, using IPA domain creds first. Subsequent connections to the same hostname will reuse the credentials, | ||
truenas.1766174354.txt.gz · Last modified: by ben
