winbindd: don't call set_domain_online_request() in the idmap child
commit148d5ad7698d154731dfa092b0c6314c71f38086
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Feb 2023 15:31:34 +0000 (16 16:31 +0100)
committerJule Anger <janger@samba.org>
Thu, 30 Mar 2023 15:10:10 +0000 (30 15:10 +0000)
treefe3ba017d6d0ba378ca56016f42be493f9c97d80
parentcb204cfc69bbc9a850b3c8783465d295f3a3d99f
winbindd: don't call set_domain_online_request() in the idmap child

Most idmap backends don't need access to the domain controllers.
And the related code is not needed for the backends.

Commit 17c86a2c5a5a5e2b194362e5f36f0f99910222c5 changed
the logic of set_domain_online_request() completely!
Instead of triggering a dc probe in the background,
it is now doing a blocking connection.
And doing this in the idmap child is completely useless.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15317

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ad242a20643c930eb00a8b700f7bd9638f8821a8)
source3/winbindd/winbindd_dual.c