HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 4 Kerberos Programming ConceptsOverview of Building a Kerberos Application on OpenVMS
Kerberos programming on OpenVMS works much the same as on any other platform. The following sections indicate differences and important information. When you compile your program, you will need to add the /INCLUDE=KRB$ROOT:[INCLUDE] qualifier to your compiler command line. For example:
Kerberos on OpenVMS provides shareable libraries in both 64-bit and 32-bit formats. All Kerberos libraries can be found in SYS$LIBRARY.
One of the GSS$RTL* libraries should be used when your program calls the GSS API. If the KRB5 API is called, then one of the KRB$RTL* libraries will need to be linked with the program. Because Kerberos routines are located in shareable libraries, the use of a link options file is recommended. For details about using link options files, refer to the HP OpenVMS Linker Utility Manual. The Kerberos example programs described in this chapter provide examples of using link options files for Kerberos applications. |