diff --git a/Ghidra/Features/BSim/src/main/help/help/topics/BSim/CommandLineReference.html b/Ghidra/Features/BSim/src/main/help/help/topics/BSim/CommandLineReference.html index cf4d16f9bf..8bc1ec1f12 100644 --- a/Ghidra/Features/BSim/src/main/help/help/topics/BSim/CommandLineReference.html +++ b/Ghidra/Features/BSim/src/main/help/help/topics/BSim/CommandLineReference.html @@ -184,6 +184,13 @@ "command">--noLocalAuth causes local connections to require authentication. This command does not affect the presence or absence of passwords or Distinguished Names for existing users.

+ +

--cafile </cafile-path> - specifies an absolute path to a + certificate authority file and is required for --auth pki. This file should contain the + certificates the PostgreSQL server will use to authenticate in PEM format + concatenated together.

--dn <distinguished-name> - specifies the Distinguished Name for the admin diff --git a/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimControlLaunchable.java b/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimControlLaunchable.java index a922e02a8a..b42e6851d7 100644 --- a/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimControlLaunchable.java +++ b/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/BSimControlLaunchable.java @@ -97,7 +97,7 @@ public class BSimControlLaunchable implements GhidraLaunchable { Set.of(DN_OPTION); private static final Set DROPUSER_OPTIONS = Set.of(); private static final Set CHANGEAUTH_OPTIONS = Set.of( - AUTH_OPTION, NO_LOCAL_AUTH_OPTION, CAFILE_OPTION); + AUTH_OPTION, DN_OPTION, NO_LOCAL_AUTH_OPTION, CAFILE_OPTION); //@formatter:on private static final Map> ALLOWED_OPTION_MAP = new HashMap<>(); @@ -1435,7 +1435,7 @@ public class BSimControlLaunchable implements GhidraLaunchable { " stop [--force]\n" + " adduser [--dn \"\"]\n" + " dropuser \n" + - " changeauth [--auth|-a pki|password|trust] [--noLocalAuth] [--cafile \"\"]\n" + + " changeauth [--auth|-a pki|password|trust] [--noLocalAuth] [--cafile \"\"] [--dn \"\"]\n" + " resetpassword \n" + " changeprivilege admin|user\n" + "\n" +