[OPENIDM-6973] AD Powershell samples: __ENABLE__ used in README but not in provisioner and create script Created: 27/Oct/16  Updated: 09/Mar/17  Resolved: 09/Mar/17

Status: Closed
Project: OpenIDM
Component/s: _Samples
Affects Version/s: OpenIDM 4.5.0
Fix Version/s: OpenIDM 5.0.0

Type: Bug Priority: Major
Reporter: Gael Allioux Assignee: Gael Allioux
Resolution: Fixed Votes: 0
Labels: release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is caused by OPENICF-623 PowerShell: AD: can not create an ena... Closed
relates to OPENICF-608 PowerShell: AD: Rewrite samples based... Closed
Target Version/s:
Verified Version/s:
QA Assignee: Vojtěch Oczka
Sprint: OpenIDM Sprint 68
Cases: 16590
Support Ticket IDs:


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" }

' \

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

Comment by Gael Allioux [ 03/Nov/16 ]

ADAuthenticate script is out of sync as well

Comment by Gael Allioux [ 08/Nov/16 ]


Comment by Vojtěch Oczka [ 07/Dec/16 ]

Checked OK with "5.0.0-SNAPSHOT" (revision: 8217fc9) jenkins-OpenIDM - public - 5.0.0 - postcommit-31 origin/release/5.0.0

Comment by Lana Frost [ 09/Mar/17 ]

Reopening to add to release notes

Generated at Thu Aug 22 02:40:07 BST 2019 using Jira 7.13.5#713005-sha1:8d78f1047b9cca7d35d4d13f706b37e27d869e07.