The call to dns_get_record() in error.blade is not returning IP addresses, so use DNS_A|DNS_AAAA instead of the default DNS_ANY
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 30s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m36s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This is referenced in #211, but not the actual cause of that issue though
This commit is contained in:
Deon George 2025-02-23 13:59:12 +11:00
parent ff0bbc758d
commit 176be19043
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
</tr>
<tr>
<th>Host</th>
<td>{{ ($y=collect(config('ldap.connections.'.$x.'.hosts')))->join(',') }} (IP: <strong>{!! $y->transform(function($item) { return collect(@dns_get_record($item))->transform(function($item) { return Arr::get($item,'ip',Arr::get($item,'ipv6')); })->filter()->join('</strong>,<strong>'); })->join(',') !!}</strong>)</td>
<td>{{ ($y=collect(config('ldap.connections.'.$x.'.hosts')))->join(',') }} (IP: <strong>{!! $y->transform(fn($item)=>collect(@dns_get_record($item,DNS_A|DNS_AAAA))->transform(fn($item)=>Arr::get($item,'ip',Arr::get($item,'ipv6')))->filter()->join('</strong>,<strong>'))->join(',') !!}</strong>)</td>
</tr>
<tr>
<th>Port</th>

View File

@ -21,7 +21,7 @@
</tr>
<tr>
<td>
<ul>
<ul class="ps-3">
<li>@lang('Your LDAP server is not connectable')</li>
<li>@lang('Your LDAP server hostname is incorrect')</li>
<li>@lang('Your DNS server cannot resolve that hostname')</li>