Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-2348

set-realm-svc-attrs: "Not a supported type: realm"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.1, 10.1.0-Xpress, 11.0.0, 11.0.1, 11.0.2, 12.0.0
    • Fix Version/s: 10.0.3, 11.0.3, 12.0.1, 13.0.0
    • Component/s: CLI
    • Labels:
    • Environment:
      CentOS 6.4 x64, CentOS 5.8 x64
    • Support Ticket IDs:

      Description

      Attempting to change several Realm specific "Authentication" tab settings. These can be set successfully via the admin GUI console, but we are trying to make a cmdline installer limiting user input.

      We cannot set Default Login Page for the realm, nor can we modify the login failure parameters for realm.

      For example:
      ./ssoadm set-realm-svc-attrs \
      -u amAdmin -f ./adminPassword.txt \
      -s iPlanetAMAuthService \
      --realm REALM \
      -a iplanet-am-auth-login-failure-count=3

      results in the error: Not a supported type: realm

      using the "set-attr-defs" I believe I have set the value for the root realm, but there is no way, in that command, to modify the value for my sub-realm.

      possible separate issues, but other things I tried:
      attempted to build XML and use update-svc, but documentation is lacking on format of XML. Got something to import using export-svc-cfg output, but updating iPlanetAMAuthService was not allowed.

      attempted to use full export/import:
      got error about sunIdentityRepositoryService not existing. [did not see this error before creating Realms].

      if i manually moved the <Service> line for the sunIdentityRepositoryService higher in the file (before first reference), the import would appear to work every other time (get error 1st time, not get error second time ... didn't test server too much after confirming odd behaviour).

        Attachments

          Activity

            People

            • Assignee:
              gabor.hollosi gabor.hollosi
              Reporter:
              anilm2 anilm2 [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: