Grant access to all my client apps again

Hello there,
I needed to migrate my Nextcloud 17.0.2 from a BSD to a Linux CentOS7 server. Everything works fine, except that I need to grant access to my windows clients. Is there anyway to grant access through cli for them?

Thanks in advance for the help

Martin Garcia