Skip to content

Refresh OpenIDM connector documentation and configuration references - #279

Merged
vharseko merged 4 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/refresh-connectors-guide
Nov 27, 2026
Merged

vharseko merged 4 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/refresh-connectors-guide

Conversation

@vharseko

@vharseko vharseko commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Update the Connectors Guide against the OpenICF Wiki, OpenICF 2.0.4, and OpenICF.Net 1.5.0. Cross-check documented configuration properties against the implementations in both directions, including inherited settings.
  • Identify the seven connector bundles in the OpenIDM distribution. Document separate downloads for the .NET connectors, add an Exchange chapter, and link to the vendor references for the historical SAP, Google Apps, and Salesforce integrations.
  • Correct LiveSync behavior, pool wait units, and setup instructions. Expand the Scripted Groovy, SQL, REST, and CREST references, and fix the linked .NET installation and PowerShell examples.
  • Document the writable isActive mapping and configured LDAPS port 636 for account creation against a writable AD DS controller. Explain AD DS USN LiveSync port selection, how legacy password synchronization affects the LDAP change-log attribute filter, and that cn=changelog entry deletions bypass both the object class and attribute filters.
  • Preserve native OpenICF identifiers in rendered prose and tables. Document SELECT as the baseline grant for the dedicated MySQL account and the additional write privileges for provisioning. Use enabled in both PowerShell requests.

Validation

  • Passed 51 documentation tests and checked 10,907 local references across 97 Antora pages. Verified the revised LDAP and database instructions and all 34 native identifier occurrences in HTML. Confirmed the change-log delete exception in both LDAP option rows.
  • Tested the shipped contractor schema in MySQL 8.4.13. The schema query failed with write grants alone. With SELECT added, the schema query and keyed insert, update, and delete all passed.
  • Created an enabled account over LDAPS on port 636 with OpenICF 2.0.4 against Samba AD by selecting the MSAD code path in the test. Read back userAccountControl=512. Automatic detection classified Samba as UNKNOWN. Windows AD DS auto-detection was checked against the connector source.
  • Earlier checks covered the LDAP and PowerShell examples in PDF, 17 JSON blocks, all 96 existing guide anchors, and the connector inventory in the OpenIDM 7.1.2 ZIP. The LDAP and PowerShell request fields were checked against the shipped provisioners.
  • Exercised test, search, and LiveSync with the released CSV connector JAR. The full REST smoke test was blocked at OpenIDM startup by a local keystore-format error.

@vharseko
vharseko requested a review from maximthomas November 26, 2026 13:48
@vharseko vharseko added documentation Documentation, javadoc, adoc, README, wiki connector OpenICF connectors / provisioner samples Sample configurations and use cases labels Nov 26, 2026

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The connector overview identifies the seven Java bundles in the distribution and gives the Windows connectors explicit download and deployment locations.


issue (blocking): Make isActive writable in the enabled-account example.

chap-ldap.adoc:124

The new request sends isActive: true, but the shipped AD provisioner marks isActive as NOT_CREATABLE. OpenIDM builds the create attribute set from writable properties, so the connector receives no __ENABLE__ value and Active Directory defaults the new account to disabled. The base recipe sent userAccountControl: "512" through the guide's linked writable mapping. Have readers remove NOT_CREATABLE from isActive before posting, or provide a working writable mapping. Verify that the newly created account is enabled in the directory. Shipped provisioner Create attribute handling Base recipe AD account defaults


issue (blocking): Document the configured ports required for AD DS USN LiveSync.

chap-ldap.adoc:80

The new strategy description assigns USN LiveSync to AD Domain Services. OpenICF 2.0.4 classifies an ordinary AD DS domain controller as MSAD_GC when its configured port is neither 389 nor 636. A deployment reaching LDAPS through a forwarded port such as 1636 therefore uses timestamps and receives no delete deltas. The base guide described a general fallback without this AD DS guarantee. Document the port check next to the strategy description and link to it from the AD setup steps. Server type detection LiveSync dispatch


issue (blocking): Preserve the underscores in native OpenICF identifiers in the published guide.

chap-exchange.adoc:44

The new Exchange chapter renders __ACCOUNT__ as ACCOUNT, and the new LDAP prose renders __GROUP_SCOPE__ and __GROUP_TYPE__ as GROUP_SCOPE and GROUP_TYPE. These are the names readers need when configuring object types and attributes. The same formatting affects new text in the CSV, database, Groovy, and PowerShell chapters. Use literal monospace such as `+__ACCOUNT__+` in the updated prose and tables, and verify that generated HTML contains <code>__ACCOUNT__</code>. LDAP group attributes Antora rendering and formatting check


suggestion (non-blocking): Add the dedicated database account to the sample setup steps.

chap-database.adoc:35

The new example switches the sample login from root to openidm_contractors. The shipped SQL creates contractordb.people. It leaves account creation and grants to the administrator, so a fresh MySQL install will reject the new login until that setup is done. State that the account must be created for the OpenIDM client host and granted the intended privileges on contractordb.people before testing the connector. Shipped sample SQL


suggestion (non-blocking): Use enabled in the PowerShell sample requests.

chap-powershell-samples.adoc:413

The create and update JSON retains the earlier __ENABLE__ property. The shipped provisioner maps enabled, and the scripts read that property. OpenIDM drops the unmapped field from the submitted payload, so those requests do not set the account state as shown. Update both examples while they are being revised. Update payload Provisioner mapping Create script


suggestion (non-blocking): Qualify the empty attribute filter when legacy password synchronization is enabled.

chap-ldap.adoc:84

The guide carries forward the statement that an empty attributesToSynchronize list allows changes to every attribute. With synchronizePasswords enabled, the cn=changelog strategy adds passwordAttributeToSynchronize to the effective filter and skips unrelated modifications. State that an empty list allows all modified attributes when legacy password synchronization is off, and describe the effective filter when it is on. Option table Effective filter Filter application

@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas I addressed all six items in 540875de0. Review

  • The AD create example now instructs readers to remove NOT_CREATABLE from isActive before sending the create request and to verify that the account is enabled in AD.
  • The LDAP guide explains the 389 and 636 port requirement for AD DS USN LiveSync, the timestamp fallback on other configured ports, and how legacy password synchronization changes the effective cn=changelog attribute filter.
  • Literal monospace preserves the underscores in all 33 edited references to native identifiers in the rendered guide.
  • The MySQL setup now includes the dedicated account and required table grants. Both PowerShell requests use the enabled field from the shipped provisioner.

I reran the 51 documentation tests, checked 10,907 local references in Antora, and verified the rendered HTML and PDFs. I checked the AD create example against the shipped provisioner and connector source. Live AD account creation has yet to be verified.

@vharseko
vharseko requested a review from maximthomas November 26, 2026 15:13

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The guide now explains why forwarded LDAPS ports change AD DS LiveSync strategy, and all 33 revised inline OpenICF identifiers retain their underscores in the rendered pages.


issue (blocking): Require configured port 636 for the enabled-account LDAPS example.

chap-ldap.adoc:126

Removing NOT_CREATABLE restores __ENABLE__: true, which OpenICF 2.0.4 converts to userAccountControl=512 in its MSAD create branch. The linked generic setup shows port 1636, and the revised port warning covers USN LiveSync. A writable AD DS controller reached on configured port 1636 is classified as MSAD_GC, so the LDAP Add omits userAccountControl and a successful Add leaves the user disabled by default. Require ssl: true and configured port 636 against a writable DC, or document a writable userAccountControl mapping like the one in the base guide, and verify the resulting account is enabled in AD. Generic setup Port classification LDAP create branch Enable conversion Base recipe AD defaults


issue (blocking): State that cn=changelog deletes bypass the attribute filter.

chap-ldap.adoc:86

The prior text described the empty list as unfiltered. The new sentence says that with synchronizePasswords enabled and an empty attributesToSynchronize list, only changes containing the password change-log attribute match. An eligible delete returns a DELETE delta before the attribute check, and OpenIDM forwards it to the mapping, where a delete policy can remove a target object. Limit the rule in the prose and option table to non-delete changes and state that deletes bypass the filter. Option table Connector delete path OpenIDM delete handling


issue (blocking): Include SELECT in the MySQL provisioning account's grants.

chap-database.adoc:35

The previous revision explicitly added write privileges to SELECT. The revised instructions present SELECT for read-only import and list only INSERT, UPDATE, and DELETE for provisioning. A fresh account granted those write privileges alone fails schema verification because the connector runs SELECT * against people, and keyed updates and deletes also require read access to UNIQUE_ID in their WHERE clause. Grant SELECT on contractordb.people in both cases, then add the required write privileges for provisioning. Previous wording Schema query Keyed delete MySQL grant semantics


suggestion (non-blocking): Guard legacy password extraction in a separate OpenICF issue.

chap-ldap.adoc:86

With legacy password synchronization enabled and attributesToSynchronize=["mail"], a mail-only modification passes the effective filter. The existing OpenICF implementation then looks up the password attribute and calls isEmpty() on the missing value before emitting the delta. The connector follow-up can guard that value and test a qualifying ordinary update with no password change. Filter construction Password extraction

Follow-up priority Medium

@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas I addressed the three blocking documentation items in 7944d67e4. Review

  • The enabled-account example now requires a writable AD DS controller with ssl: true and configured port: 636.
  • The LiveSync prose and option table now state that cn=changelog entry deletions bypass attributesToSynchronize.
  • The MySQL instructions now grant SELECT for both import and provisioning, with the required write privileges added for provisioning.

I reran the 51 documentation tests and checked 10,907 local references in Antora. In MySQL 8.4.13, the schema query failed with write grants alone and passed after granting SELECT. Keyed writes passed with the documented grants.

On the Samba AD lab, I selected the MSAD create path in the test and read back userAccountControl=512 after provisioning over LDAPS on port 636. OpenICF 2.0.4 automatically classified Samba as UNKNOWN. I checked the Windows AD DS detection logic against the connector source.

I reproduced the legacy password lookup failure and prepared the fix separately in OpenICF. The new OpenDJ regression passed with the fix, and the LDAP module suite passed all 189 tests.

@vharseko
vharseko requested a review from maximthomas November 26, 2026 16:39

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The AD provisioning example specifies the exact LDAPS configuration required by the connector's enable-on-create path. AD setup


suggestion (non-blocking): Mention the change-log delete exception in the objectClassesToSynchronize option row.

The unchanged option row describes the class limit generally and links to the updated prose, which scopes the limit to non-delete change-log events. The connector returns a delete delta before the class check. Add the same qualifier to the row so readers using the table alone can see how change-log deletes are handled. Option row Updated prose Delete branch Class check

@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas I updated the objectClassesToSynchronize row in 078b40f5e. It now states that entry deletions bypass the class filter in the cn=changelog strategy. Review

I verified the rendered row and its cross-reference in Antora. All 51 documentation tests passed.

@vharseko
vharseko requested a review from maximthomas November 26, 2026 18:42

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The objectClassesToSynchronize row now identifies the deletion exception where readers look up the option and links to the strategy details. Updated row

@vharseko
vharseko merged commit 0bd079f into OpenIdentityPlatform:master Nov 27, 2026
31 checks passed
@vharseko
vharseko deleted the docs/refresh-connectors-guide branch November 27, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connector OpenICF connectors / provisioner documentation Documentation, javadoc, adoc, README, wiki samples Sample configurations and use cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants