How to configure ldap in the nexus.properties file of Nexus Repository Manager 3 to take effect

I’m a novice. I don’t know how to set the configuration information of ldap to make it work in nexus. I’ve searched Google for a long time, but I haven’t found the answer I want.
I referred to this article: Setting Advanced LDAP Connection Properties in Nexus Repository Manager – Sonatype Support, but it seems that I need the basic knowledge of Java, which I am very deficient in.
In my nexus.properties configuration file, I set the following parameters:

nexus.ldap.env.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
nexus.ldap.env.java.naming.provider.url=ldap://ldap-service.ldap.svc.cluster.local:389
nexus.ldap.env.java.naming.security.authentication=simple
nexus.ldap.env.java.naming.security.credentials=adminpassword******
nexus.ldap.env.java.naming.security.principal=cn=admin,dc=xyz,dc=com
nexus.scripts.allowCreation=true

In addition to this information, how can I set information such as searchfilter and basedn in nexus.properties?
Thanks for any help!

You’ll need to restart Nexus.

Thanks for reminding me!
In fact, after I change the configuration file, I will restart nexus, but it still doesn’t seem to work.

I am working on nexus PRO 3.65.0.2
Is this possible to configure LDAP using nexus.properties file?