After updating to Big Sur the process "opendirectoryd" is using 70% cpu

It looks like that I have found a way to fix it.

I've edited /etc/auto_master, commented out the line starting with /home and then executed sudo automount -vc.

I've found this solution here: https://superuser.com/a/426719/117432.