Purpose of the sample programs

The sample programs demonstrate specific Open Server functionality. With the exception of ctosdemo, these programs are designed as guides for application programmers, not as Open Server training aids. Read the descriptions at the top of each source file and examine the source code prior to attempting to use the sample programs.

These simplified programs are not intended for use in a production environment. Production-quality programs require additional error-handling and special-case-handling.

Check the individual sample programs to see which trace flags can be used with them. Read the README file for complete instructions on running the sample programs.

NoteOn Sun Solaris, the link line for secsrv_krb in the makefile must be updated for the SYBPLATFORM value “dce_sun_svr4” to exclude linking with any Kerberos libraries. The link line should not define the csfgss_pPtr symbol. This is defined in the GETKRBLIBS variable at line 169. The line should read:

KRBLIBS=" -Bdynamic -lsocket " ;; \