Instruction manual
ODBC Driver and Installation
CentreVu®
CMS Open Database Connectivity
Solaris Client Installation 2-19
●
The user name is invalid.
OpenLink
will return the following error
message if the user name is invalid: “OpenLink UDBC; user
name/password invalid.” When the user logs in, the user name is
verified from the
/etc/passwd
and
/etc/shadow
files. In addition, if an
/etc/shells
file exists, then the user’s shell is compared against the
valid shells already entered in
/etc/shells
. If the user name is invalid,
do the following steps:
1. Verify the name of the shell they used to log in by going into
/etc/passwd
and searching for the user name. At the end of the
appropriate user name line, the shell with which the user
logged in will be listed.
2. If the
/etc/shells
file exits, go into it and add an entry for the
user shell if the user shell does not already exist.
3. If the user shell already exists in the
/usr/shells
file or the
etc/shells
file does not exist at all, refer the problem to the
system administrator.
Review the
/usr/openlink/client/doc/STARTUP.DOC
file for other possible
errors.
Build an ODBC
Application
2
Provided that the development environment is installed, all necessary
components to build an ODBC application exist in the
/usr/openlink/client/
odbcsdk
directory. Necessary headers and library routines reside in the
respective
/include
and
/lib
directories. The actual application test code
and associated
makefile
reside in
/usr/openlink/client/odbcsdk/examples
.
This code illustrates the use of the ODBC API. Copy the code to another
directory prior to your use and development.
The ODBC application is responsible for implementing the embedded
ODBC code provided by the ODBC libraries linked to the driver manager
for host/database connectivity, data access, and any other necessary
processing. If the test connection is successful (“
Test ODBC
Connectivity” in this section), the client has been properly configured and
the ODBC header and libraries have been verified to be fully accessible
to an application. Lucent Technologies cannot provide support for client-
generated applications, or other third-party software or related mapping.
See the caution in this chapter’s overview, or contact your Lucent
Technologies account representative.