Be aware of the following issues when coding for sybmapname:
Take care with the sample sybmapname.c program and any modifications to it. Avoid using code that may create a segmentation fault, that may call exit(), that may call system calls(), that may change UNIX signals, or that makes any blocking calls. Improper coding or calls may interfere with the Adaptive Server engine.
Sybase bears no responsibility for coding errors in sybmapname.
Code defensively, check all pointers before dereferencing them, and avoid system calls. The functions you write must be quick name-filtering functions.
Do not use goto statements since, depending on the platform, they may cause unexpected side effects.
If you use multiple realms, take care to map the
user principal names to a suitable login name to reflect the realm
information. For example, if you have two users whose user principal
names are userA@REALMONE
and userB@REALMTWO
,
respectively, map them to the login names userA_REALMONE
and userB_REALMTWO
,
instead of userA
or userB
. This
distinguishes the two users who belong to different realms.