Hi , Thanks.
I have using below command for on the fly.I have configured "interval" in lsc.xml file. 1) lsc --config C:/lsc/sample/sql-test/etc --asynchronous-synchronize all Using above i can add/update.but can't delete the user. 2) lsc --config C:/lsc/sample/sql-test/etc --clean all Using above command the user will delete in not on the fly mode.I have deleted user from LDAP and run the above command. The user get deleted from database but not on the fly mode. On Tue, Dec 2, 2014 at 9:21 PM, Clément OUDOT <[email protected]> wrote: > > > 2014-12-02 16:14 GMT+01:00 Udhaya Kumar <[email protected]>: > >> Hi, >> >> Sorry. The configuring interval working. I am able to add /update use in >> on the fly. >> But I am not able delete user. When delete user from LDAP ,it is not >> deleted in database in both case(asyncLdapSourceService and interval). >> The delete action not taken place in LSC. >> Without "on the fly" I am able delete user. >> > > > > The delete is dond with lsc -c. lsc -a will only do add/update/rename > operations. > > > Clément. > > > >> >> Thanks. >> >> On Tue, Dec 2, 2014 at 3:20 PM, Udhaya Kumar <[email protected]> wrote: >> >>> Hi, >>> >>> Thanks for reply. >>> >>> I have tried both. Below I mentioned what I am did. >>> >>> *Case 1:* asyncLdapSourceService >>> >>> I have tried using asyncLdapSourceService . I am able create user in >>> database. But not able delete.When deleting user from LDAP,I get following >>> message. >>> >>> *ERROR - Synchronization aborted because no source object has been found >>> !* >>> >>> I have run lsc in asynchronus mode using below command >>> *lsc --config C:/lsc/sample/sql-test/etc --asynchronous-synchronize all * >>> C:/lsc/sample/sql-test/etc - contains my configuration. >>> >>> *Case 2:* Interval >>> I have configured interval in lsc.xml file. But I am not able add/delete >>> user in on the fly. >>> Any other configuration needed for interval. >>> >>> >>> Thanks. >>> >>> >>> On Tue, Dec 2, 2014 at 2:11 PM, Clément OUDOT <[email protected]> >>> wrote: >>> >>>> >>>> >>>> 2014-12-02 8:52 GMT+01:00 Udhaya Kumar <[email protected]>: >>>> >>>>> Hi, >>>>> >>>>> >>>> Hi, >>>> >>>> >>>>> I am using lsc for synchronize users from LDAP to an Mysql SQL >>>>> database.I am able to synchronize well. >>>>> I have doubt regarding synchronization. >>>>> I have created user in LDAP and run the lsc exe or script file. The >>>>> user added to database successfully. >>>>> But I want parallelly add user to database when user added to LDAP. I >>>>> mean how to make LSC in active in all time.(i.e I want run lsc only once) >>>>> >>>>> LSC version - 2.1 >>>>> Mysql - 5.5 >>>>> >>>>> >>>> >>>> To be able to synchronize your LDAP with your DB "on the fly", you need >>>> to use the async mode (lsc -a), either by configuring your LDAP server as a >>>> SyncRepl provider (in this case, use asyncLdapSourceService : >>>> http://lsc-project.org/wiki/documentation/latest/configuration/service/sourceasyncldap), >>>> or use a standard LDAP source service ( >>>> http://lsc-project.org/wiki/documentation/latest/configuration/service/sourceldap) >>>> and configure the 'interval' parameter. >>>> >>>> >>>> >>>> Clément. >>>> >>>> >>> >>> >>> -- >>> regards, >>> Udhaya Kumar >>> >> >> >> >> -- >> regards, >> Udhaya Kumar >> > > -- regards, Udhaya Kumar
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

