Re: Configuring LDAP with OFBiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Configuring LDAP with OFBiz

Adrian Crum-2
The current LDAP integration is used for authentication only. User data is not stored in LDAP.

By the way, this type of question should be posted on the user mailing list.

-Adrian

--- On Fri, 11/26/10, Naveen Bahatam <[hidden email]> wrote:

> From: Naveen Bahatam <[hidden email]>
> Subject: Configuring LDAP with OFBiz
> To: [hidden email]
> Date: Friday, November 26, 2010, 2:27 AM
> Hi,
>
>     I have understood configuring LDAP with OFBiz
> by editing two properties
> file as below:
>
> *jndiLdap.properties file:*
> *
> *
> # OFBiz LDAP Authentication Settings
> ####
>
> # JNDI LDAP settings. Change the following line to
> # point to your LDAP server.
> java.naming.provider.url=ldap://localhost:389
> java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
> java.naming.security.authentication=simple
> com.sun.jndi.ldap.connect.timeout=5000
>
> # Distinguished Name template. This is used as a default
> if
> # UserLogin.userLdapDn is empty.
> # The %u placeholder will be replaced by the user's login
> name,
> # then the resulting string will be used to authenticate
> the user.
> ldap.dn.template=cn=%u,dc=example,dc=com
>
> # The following property controls whether the user's OFBiz
> password
> # is synchronized with the user's LDAP password.
> ldap.synchronize.passwords=true
>
>
> *security.properties file:*
> # -- Use LDAP for user authentication? --
> security.ldap.enable=true
>
> # -- Fail login if LDAP authentication fails? --
> security.ldap.fail.login=true
>
> *
> *
> *             
>    Can anyone help me how to synchronize the
> details in LDAP
> and OFbiz database.*
> *
> *
> *Doubt:*
> *    When a new customer/user is registered in a
> store, all the details are
> saved in local OFBiz database. How do i ensure that the
> user details also*
> *get updated in LDAP accordingly.. How to maintain
> consistency of user
> information in DB and LDAP.*
> *
> *
>