OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: cclloyd on October 01, 2018, 12:07:27 am

Title: LDAP Discovery with Unbound DNS
Post by: cclloyd on October 01, 2018, 12:07:27 am
I'm using FreeIPA on my network for authentication, and puppet to provision them.  For puppet (using the sssd module) to properly enroll them, it needs to be able to discover the freeipa server with dns. 

When trying to join, it tells me this:

Code: [Select]
* Using domain name: example.com
 * Calculated computer account name from fqdn: PUPPETMASTER
 * Calculated domain realm from name: EXAMPLE.COM
 * Discovering domain controllers: _ldap._tcp.example.com
 ! No LDAP SRV records for domain: _ldap._tcp.example.com: Name or service not known
 ! Couldn't find usable domain controller to connect to
adcli: couldn't connect to example.com domain: Couldn't find usable domain controller to connect to

How can I add the SRV records to my dns with unbound dns?  The only options listed for records are A, AAAA, and MX.