[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:
Regression
is caused by OPENICF-623 PowerShell: AD: can not create an ena... Closed
Relates
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:

 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



 Comments   
Comment by Gael Allioux [ 03/Nov/16 ]

ADAuthenticate script is out of sync as well

Comment by Gael Allioux [ 08/Nov/16 ]

https://bugster.forgerock.org/jira/browse/OPENICF-623

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 Wed Feb 20 22:22:10 GMT 2019 using Jira 7.13.0#713000-sha1:fbf406879436de2f3fb1cfa09c7fa556fb79615a.