
Access Manager user profile page- readonly issue
September 26, 2008Seems like there is an issue while trying to set an attribute to “readonly” so that when a user logs into AM, he can only see but can’t change those attributes. Sun’s documentation says that to do this, you need to edit the file amUser.xml found in /etc/opt/SUNWam/config (or the relevant path in linux), then delete the iplanetAMUserService using the amadmin command
/opt/SUNWam/bin/amadmin –runasdn uid=amadmin,ou=people,dc=sun,dc=com –password mypassword –deleteservice iplanetAMUserService
and then reimport the new amUser.xml using-
/opt/SUNWam/bin/amadmin –runasdn uid=amadmin,ou=people,dc=sun,dc=com –password mypassword –schema amUser.xml
However, when i edited amUser.xml and changed the “any” property of an attribute (say, “cn”), the attribute just disappears from the user’s page. I have seen this issue in Sun forums also, but don’t see any resolution.