You could follow along here.
https://support.apple.com/guide/directory-utility/configure-domain-access-diru11f4f748/mac
--please don't forget to close up the thread here by marking answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Please consult the detailed steps, how to operate
You could follow along here.
https://support.apple.com/guide/directory-utility/configure-domain-access-diru11f4f748/mac
--please don't forget to close up the thread here by marking answer if the reply is helpful--