Environment
Novell Vibe 4.x
Novell Vibe 3.x
Novell Vibe 3.x
Situation
If you add an additional mapped attribute from LDAP followed by a full LDAP sync, all LDAP user profiles will be updated with the respective value based on this new attribute mapping. However, if you later decide to remove this mapping, the previously mapped values will remain intact in the user profiles.
Consider the scenario:
You want to map every user's Middle Name for your eDir users. To do this, you would add the mapping:
middleName=initials
After adding this additional mapping, the next sync will update all eDir users with a value for Middle Name (if one is defined for them in the directory).
Later on, you decide to remove this mapping and run a sync but all users who previously got assigned a Middle Name continue to have it.
This TID will show you how to clear out all values for the attribute that is being removed.
Consider the scenario:
You want to map every user's Middle Name for your eDir users. To do this, you would add the mapping:
middleName=initials
After adding this additional mapping, the next sync will update all eDir users with a value for Middle Name (if one is defined for them in the directory).
Later on, you decide to remove this mapping and run a sync but all users who previously got assigned a Middle Name continue to have it.
This TID will show you how to clear out all values for the attribute that is being removed.
Resolution
An LDAP sync needs to be run with a 'null' mapping for the removed attribute to clear out.
Default mapping for LDAP attributes is:
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
Let's set the middleName of all LDAP users to be equal to LDAP 'cn' as an example.
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
middleName=initials
To change back to default mapping and clear out the middle name you have run a LDAP update with a 'null' mapping for middleName.
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
middleName=null
After running the null mapping sync, remove the null mapping and save your LDAP settings.
Default mapping for LDAP attributes is:
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
Let's set the middleName of all LDAP users to be equal to LDAP 'cn' as an example.
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
middleName=initials
To change back to default mapping and clear out the middle name you have run a LDAP update with a 'null' mapping for middleName.
phone=telephoneNumber
emailAddress=mail
lastName=surname
firstName=gn
firstName=givenName
description=description
lastName=sn
middleName=null
After running the null mapping sync, remove the null mapping and save your LDAP settings.