Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

help with removing realm DNS aliases from openam 9

Jan 29, 2013 4:51AM PST

Hello All,

I'm trying to remove couple of realm DNS aliases but for some reason it looks like they silently fail. Here is what I do:

[CODE]$ /path/to/ssoadm get-realm -s sunIdentityRepositoryService -e / -u amadmin -f /path/to/pass/.mypass
sunOrganizationAliases=host1.domain1.com
sunOrganizationAliases=domain1.com
sunOrganizationStatus=Active

$ /path/to/ssoadm delete-realm-attr -e / -u amadmin -f /path/to/pass/.mypass -s sunIdentityRepositoryService -a sunOrganizationAliases=domain1.com
Attribute was removed.
[/CODE]
# so now I want to see:

[CODE]$ /path/to/ssoadm get-realm -s sunIdentityRepositoryService -e / -u amadmin -f /path/to/pass/.mypass
sunOrganizationAliases=host1.domain1.com
sunOrganizationAliases=domain1.com
sunOrganizationStatus=Active

[/CODE]
Second command states that it worked but it didn't and I don't understand why. Any help apprieciated.

Thank you

Discussion is locked