LDAP login fails when users move to new OU
Users cannot login after their account moves to a new OU.
Set up:
Version 8.2
- LDAP_BO : business object group with 3 LDAP BOs. One for each of 3 OUs
- RegularUser_BO : with LDAP attribute referencing the LDAP_BO
Login setup: LDAP_BO.userPrincipalName matching RegularUser.LDAP
Login set to auto create user.
Everything works when I add my first user. A new RegularUser is created and RegularUser_BO.LDAP is DEFINED
Then I move this user to a new OU. ... wait a few minutes
Now I try to log in again with this user. First I get a rule error "duplicate login name". Then a few minutes later I try again and I can log in ... But only because AwareIM created a NEW user.
So, now I have two users with the same loginname but different LDAP. The original user's LDAP attribute is now UNDEFINED. The new user's LDAP attribute points to the new OU.
I've tried to point my LDAP_BO to the root OU but seems that AwareIM LDAP implementation doesn't do a recursive lookup (or whatever). I've tried to change the OU (in AD) then go into AwareIM, find the user who moved and update the LDAP attribute but AwareIM seems to cache the incorrect LDAP setting and won't let me change it to the new OU. Further, if I move the user's OU, then any shortcuts in the RegularUser_BO that link to the LDAP_BO are now invalid and prevents AwareIM from querying RegularUsers. So, now, short of assigning values, I can't even shortcut into the LDAP mail attribute to link to the RegularUser.EmailAddress (so I can run a rule like SEND <...> TO RegularUser)
User accounts do move between OUs so what is a solution to this predicament?
Thanks