When running the "Policy Server Management Console" (smconsole) on Linux Policy Server, the tool works very slow.
Is there's a way to modify configuration?
It's possible to modify the Policy Server service configuration by accessing to the sm.registry file directly, and manually edit it.
The challenge comes when modifying encrypted values.
Some command lines can help to encrypt some of the values:
Logon to the Policy Server machine, and open a command prompt;Back-up the following file:
<Siteminder_Install_Dir>/registry/sm.registryto illustrate:# cp -p /<Siteminder_Install_Dir>/registry/sm.registry <Siteminder_Install_Dir>/registry/sm.registry.orig
Run the following command to encrypt the Admin Password for the Policy Store# smldapsetup reg -w<Password>NOTE: This switch will use the Policy Server encryption key to encrypt the password entered in the "-w' switch and populate it in the following location:HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\LdapPolicyStore
"AdminPW"="{RC2}<value>"This value can be copied to to the following fields:LDAP Connection Settings:
HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\LdapPolicyStore\AdminPW
HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\LdapKeyStore\AdminPW
HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\LdapSessionServer\AdminPWODBC Connection Settings:
HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\AdvancedAuth\PasswordHKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\Default\PasswordHKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\Key\PasswordHKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\LogHKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\SessionServer\PasswordHKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\Database\Token\PasswordThe values in the 'sm.registry' are only overwritten when including that corresponding switch in the 'smldapsetup reg' command.
To overwrite the Server, LDAP Root, or Admin, then don't specify those switches.
The command will overwrite anything in the [HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\LdapPolicyStore\AdminPW] registry key with the encrypted value from the smldapsetup command, however encrypted value isn't limited to that one connection.
Note:
When allowed to install, use Xming software to get an X server on the laptop (1).
Run the Xming on the laptop with this command, when installed in the default repository:
"C:\Program Files (x86)\Xming\Xming.exe" :0 -clipboard -multiwindow -ac
It can be copied to other registry keys, providing the possibility to reset it to the correct password for the LDAP Policy Server at the end (if the other connections are using different accounts).