Friday, December 03, 2021

Re: django-ldap-auth authentication lasts several minutes on OpenBSD

On 2021-12-03, Maksim Rodin <a23s4a2008@yandex.ru> wrote:
> The AD DC machine is an Ubuntu 20 machine with samba 4.
> The test machine where I initially have all the code and from where I tested this application initially
> is a Linux Mint machine.
> I enabled some logging in Django to see what happens when I log
> in to the application
> When I run "python manage.py runserver 0.0.0.0:8080" on my Linux machine
> and try to authenticate to the application in my browser on the same machine I am logged in
> within a second.
> When I run "python manage.py runserver 0.0.0.0:8080" on the OpenBSD test
> server and try to authenticate to the application from my browser
> (using OpenBSD machine's IP or hostname) it lasts several minutes.
> There is no error in the application log. Just a big delay till I am
> successfully authenticated.

A delay of that sort of length strongly hints at a DNS or reverse DNS problem.

No comments:

Post a Comment