Environment
SUSE Linux Enterprise Server 11
Novell Data Synchronizer Mobility Pack
Novell Data Synchronizer Mobility Pack
Situation
Symptoms
Unable to change group name
Update group name that mobility users are members of
Sync problems after group name is renamed
Sync problems after group name is modified
Changes
Group name was changed that is used for Mobility Server
Unable to change group name
Update group name that mobility users are members of
Sync problems after group name is renamed
Sync problems after group name is modified
Changes
Group name was changed that is used for Mobility Server
Resolution
Two methods to update the group name on the Mobility Server.
Method 1: Remove - Re-add
Method 2: Update Database.
Method 1: Remove - Re-add
- Remove the group from Datasync Mobility.
- Go to Manage Global Settings, and Poll LDAP Now.
- Add the group back to Datasync Mobility.
- Go to Manage Global Settings, and Poll LDAP Now.
- All users of that Group will be removed, and re-added to the Mobility Server.
Method 2: Update Database.
- Log into the database psql -U datasync_user datasync
- Get the old path of the group, and make note. (Case Sensitive)
select dn from targets; - Update the dn of the group in targets with the new name / path from step 2.
update targets set dn = 'cn=newGroupName,o=Org' where dn = 'cn=oldGroupName,o=Org'; - Update the groupdn of the group in the "membershipCache" table with the new name / path from step 2.
update "membershipCache" set groupdn = 'cn=newGroupName,o=Org' where groupdn = 'cn=oldGroupName,o=Org'; - Restart datasync
rcdatasync restart
Cause
The database for the Mobility Server stores the group with the old name of the group. This will need to be updated with the new name of the group for the users to continue to sync.