Issue #845 has been updated by Clément OUDOT. Category set to Core Status changed from New to Assigned Assigned to set to Raphaël Ouazana Target version set to 2.2
Seems the same problem as #508 ---------------------------------------- Bug #845: ALL entries were cleaned when the AD connection failed http://tools.lsc-project.org/issues/845 Author: jedison chiang Status: Assigned Priority: High Assigned to: Raphaël Ouazana Category: Core Target version: 2.2 Problem in version: I am using LSC to sync accounts from AD to LDAP, everything looks fine so far, except the situation that when the AD dead, LSC will clean all entries in that task, could LSC do nothing when the connection failed? I executed the LSC with following command : lsc -f /etc/lsc/ -s task1 -c task1 and the log as below --------------------------------------------------------- Feb 25 12:57:37 - INFO - Starting sync for task1 Feb 25 12:57:37 - ERROR - Error getting list of IDs in the source for task task1 Feb 25 12:57:37 - INFO - Starting clean for task1 Feb 25 12:57:37 - ERROR - LDAP error while reading entry cn=CN_1,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=CN_1,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=CN_1,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete Feb 25 12:57:38 - ERROR - LDAP error while reading entry cn=Group,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=Group,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=Group,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete Feb 25 12:57:38 - ERROR - LDAP error while reading entry cn=Google_IACD,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=Google_IACD,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=Google_IACD,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete Feb 25 12:57:38 - ERROR - LDAP error while reading entry cn=M2K_IACS,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=M2K_IACS,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=M2K_IACS,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete Feb 25 12:57:38 - ERROR - LDAP error while reading entry cn=M2K_IACP,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=M2K_IACP,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=M2K_IACP,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete Feb 25 12:57:38 - ERROR - LDAP error while reading entry cn=M2K_IACJ,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) Feb 25 12:57:38 - INFO - # Removing object cn=M2K_IACJ,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw for task1 # Thu Feb 25 12:57:38 CST 2016 dn: cn=M2K_IACJ,ou=Google Apps,ou=DepartmentB,dc=ABC,dc=com,dc=tw changetype: delete .... ... --------------------------------------------------------- -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

