Problem
When an LDAP user account that previously had a photo is removed from Active Directory (AD), there may still be references or photos present in the system. This can result in orphaned photos or inconsistent state in NexTrombi-AD for users that are no longer active.
Expected behavior
- LDAP user photos should be properly handled when their account is no longer present in AD.
- Orphaned photos should be cleaned up or flagged appropriately.
- The application should not display or retain photos for users not present in AD.
Steps to Reproduce
- Sync a user from LDAP to NexTrombi-AD with a photo.
- Remove the user from AD.
- Observe the photo data/state in NexTrombi-AD after the next sync or lookup.
Suggested Solution
- Detect when users with remaining photos no longer exist in AD.
- Remove or archive their photo data.
Additional Context
- This can help keep user data accurate and comply with privacy or retention standards.
Problem
When an LDAP user account that previously had a photo is removed from Active Directory (AD), there may still be references or photos present in the system. This can result in orphaned photos or inconsistent state in NexTrombi-AD for users that are no longer active.
Expected behavior
Steps to Reproduce
Suggested Solution
Additional Context