Hi There,
I'm using the latest version of LSC (2.2.2) and I am trying to connect Active Directory to OpenLDAP for an application. Users are added to the application by joining a group. When users leave or are removed from the group, the users should not be removed from OpenLDAP but the attribute 'statusID' should be set to 3 (It is 1 for active users).
I have been following the instructions on the project https://lsc-project.org/documentation/latest/applymodificationondelete.html
but for the life of me I cannot get the delete condition to fire.
The users sync works fine and it detects and complains that the users are missing on the cleanup phase but it will not fire and change the StatusID to 3. All i get is (user1 and user2 is removed)
Jan 18 21:35:49 - INFO - Starting clean for sync-ldap
Jan 18 21:35:49 - ERROR - Could not retrieve the object cn=user1,ou=Users,dc=test,dc=corp from the directory!
Jan 18 21:35:49 - ERROR - Could not retrieve the object cn=user2,ou=Users,dc=test,dc=corp from the directory!
Jan 18 21:35:49 - ERROR - sync-ldap - clean - All entries: 7, to modify entries: 0, successfully modified entries: 0, errors: 2
If I set the delete condition to true it will remove the users so I think the rest of my configuration is correct. Is there anything you can advise please?
Hi There,
I'm using the latest version of LSC (2.2.2) and I am trying to connect Active Directory to OpenLDAP for an application. Users are added to the application by joining a group. When users leave or are removed from the group, the users should not be removed from OpenLDAP but the attribute 'statusID' should be set to 3 (It is 1 for active users).
I have been following the instructions on the project https://lsc-project.org/documentation/latest/applymodificationondelete.html
but for the life of me I cannot get the delete condition to fire.
The users sync works fine and it detects and complains that the users are missing on the cleanup phase but it will not fire and change the StatusID to 3. All i get is (user1 and user2 is removed)
Jan 18 21:35:49 - INFO - Starting clean for sync-ldap
Jan 18 21:35:49 - ERROR - Could not retrieve the object cn=user1,ou=Users,dc=test,dc=corp from the directory!
Jan 18 21:35:49 - ERROR - Could not retrieve the object cn=user2,ou=Users,dc=test,dc=corp from the directory!
Jan 18 21:35:49 - ERROR - sync-ldap - clean - All entries: 7, to modify entries: 0, successfully modified entries: 0, errors: 2
If I set the delete condition to true it will remove the users so I think the rest of my configuration is correct. Is there anything you can advise please?