Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-6973

AD Powershell samples: __ENABLE__ used in README but not in provisioner and create script

    Details

    • Sprint:
      OpenIDM Sprint 68
    • Support Ticket IDs:

      Description

      to create a user, in the README file :

      4 - Create a user

      $ curl --header "Content-Type: application/json" \
      --header "X-OpenIDM-Username: openidm-admin" \
      --header "X-OpenIDM-Password: openidm-admin" \
      --request POST \
      --data '

      { "distinguishedName": "CN=OpenIDM Sample,CN=Users,DC=example,DC=com", "sn": "Sample", "cn": "OpenIDM", "sAMAccountName": "sample", "userPrincipalName": "sample@example.com", "passwordNeverExpires": true, "__ENABLE__": true, "__PASSWORD__": "Passw0rd", "telephoneNumber": "0052-611-091" }

      ' \
      http://localhost:8080/openidm/system/adpowershell/account?_action=create

      whereas in the samples/provisioners/provisioner.openicf-adpowershell.json line 282,
      "enabled" attribute is defined.
      Same in the create script samples/powershell2AD/tools/ADCreate.ps1 line 229.
      So the README is wrong.
      the README works with the samples defined in the powershell connector

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gael Gael Allioux
                Reporter:
                gael Gael Allioux
                QA Assignee:
                Vojtěch Oczka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: