In the framework/security/config/jndiLdap.properties file:

1. Change the java.naming.provider.url property to point to your LDAP or AD server

2. Change the ldap.dn.template property to specify the distinguished name you are authenticating to. Read the comment just above the property.

What you put in the ldap.dn.template property depends upon how your directory is set up. I used JXplorer to view my directory and to try out different DNs.

The basic idea is to use the same context that the network user typically logs in to. For example, if all of your OFBiz users are members of an organizational unit (ou), then you would put that organizational unit in the ldap.dn.template property.

-Adrian

Wicus wrote:
Where does one specify the LDAP or Active Directory to use, when implementing
the "ldap_authentication.patch" from
https://issues.apache.org/jira/browse/OFBIZ-811 ...?

Thanks

Reply via email to