Skip to content

Fix Wren:DS directory detection#184

Merged
karelmaxa merged 1 commit intoWrenSecurity:mainfrom
pavelhoral:fix-wrends-detection
Apr 1, 2025
Merged

Fix Wren:DS directory detection#184
karelmaxa merged 1 commit intoWrenSecurity:mainfrom
pavelhoral:fix-wrends-detection

Conversation

@pavelhoral
Copy link
Copy Markdown
Member

Fix detection that prevents import-svc-cfg invocation.

$ .\ssoadm import-svc-cfg -e secret -u amadmin -f password.txt -X config.xml

Unable to import service configuration because we are unable to recognize the data store type. We support Sun Directory Server and Embedded OpenDJ as service configuration data store.

@pavelhoral pavelhoral force-pushed the fix-wrends-detection branch from 2c08128 to 5ecfc30 Compare April 1, 2025 09:36
if (result != null) {
if (result.startsWith(VENDOR_OPENDJ)) {
if (result.startsWith(VENDOR_WRENDS)) {
String version = result.substring(VENDOR_WRENDS.length());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please replace tabs with spaces?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed🤦

@pavelhoral pavelhoral force-pushed the fix-wrends-detection branch from 5ecfc30 to 21930d1 Compare April 1, 2025 10:59
@pavelhoral pavelhoral force-pushed the fix-wrends-detection branch from 21930d1 to c188fe7 Compare April 1, 2025 11:23
Copy link
Copy Markdown
Member

@karelmaxa karelmaxa left a comment

Choose a reason for hiding this comment

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

LGTM.

@karelmaxa karelmaxa merged commit 0abef93 into WrenSecurity:main Apr 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants