Published information is written in XML format to a specified file. The specified file name is saved in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\ Publish
This key is located in the system registry on Windows systems, and in the install_dir/registry/sm.registry file on UNIX. The default value of the registry setting is:
policy_server_install_dir>\log\smpublish.xml
If you execute smpolicysrv -publish from a command line, and you do not supply a path and file name, the value of the registry setting determines the location of the published XML file.
Note: On Windows systems, do not run the smpolicysrv command from a remote desktop or Terminal Services window. The smpolicysrv command depends on inter-process communications that do not work if you run the smpolicysrv process from a remote desktop or Terminal Services window.
Important! If you are running a SiteMinder utility or executable on Windows Server 2008, be sure to open the commandline window with Administrator permissions, even if you are logged into the system as an Administrator. For more information, see the release notes for your SiteMinder component.
To specify a location and generate output in an XML file
installation_dir/siteminder/bin
smpolicysrv -publish path_and_file_name
For example, on Windows:
smpolicysrv -publish c:\netegrity\siteminder\published-data.txt
For example, on UNIX:
smpolicysrv -publish /netegrity/siteminder/published-data.txt
The Policy Server generates XML output in the specified location and updates the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\
SiteMinder\CurrentVersion\Publish registry key to match the location you specified.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |