Hi, You have to modify createCustomer events in CustomerEvents.xml to store user details in LDAP when user gets registered.
Regards, Abhishake On Sat, Nov 27, 2010 at 11:26 PM, Naveen Bahatam < naveen.baha...@whishworks.com> wrote: > Hi Adrian, > > Thanks for your reply. If at all the users data is to be stored in LDAP, > when the user is getting registered, or for password > updations, can you tell me how can it be done.??. Is it possible with the > current implementation in OFBiz, or should we write a service to perform > such an operation. > And yes, i will make sure to post these questions on user mailing list. > Thank you once again. > > > Regards, > Naveen Kumar B.V > > > > > On 26 November 2010 21:20, Adrian Crum <adrian.c...@yahoo.com> wrote: > > > 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 <naveen.baha...@whishworks.com> > > wrote: > > > > > From: Naveen Bahatam <naveen.baha...@whishworks.com> > > > Subject: Configuring LDAP with OFBiz > > > To: dev@ofbiz.apache.org > > > 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.* > > > * > > > * > > > > > > > > > > > >