Repository navigation
Conversation
maximthomas
left a comment
There was a problem hiding this comment.
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.
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.
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.
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.
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.
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
|
@maximthomas I addressed all six items in
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. |
maximthomas
left a comment
There was a problem hiding this comment.
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.
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.
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.
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.
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
|
@maximthomas I addressed the three blocking documentation items in
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 On the Samba AD lab, I selected the 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. |
maximthomas
left a comment
There was a problem hiding this comment.
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
|
@maximthomas I updated the I verified the rendered row and its cross-reference in Antora. All 51 documentation tests passed. |
maximthomas
left a comment
There was a problem hiding this comment.
praise: The objectClassesToSynchronize row now identifies the deletion exception where readers look up the option and links to the strategy details. Updated row
Summary
isActivemapping and configured LDAPS port636for 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 thatcn=changelogentry deletions bypass both the object class and attribute filters.SELECTas the baseline grant for the dedicated MySQL account and the additional write privileges for provisioning. Useenabledin both PowerShell requests.Validation
SELECTadded, the schema query and keyed insert, update, and delete all passed.636with OpenICF 2.0.4 against Samba AD by selecting theMSADcode path in the test. Read backuserAccountControl=512. Automatic detection classified Samba asUNKNOWN. Windows AD DS auto-detection was checked against the connector source.