Restrictions on the User Identifier Parameter
- The specified user lacks the privileges to access the database specified in the database environment.
- The specified user lacks the permissions to connect to the remote host.
- You supply a USER Authentication clause but omit the USING validation_var specification.
In compliance with the X/Open standard for the CONNECT statement, the Informix® ESQL/C preprocessor supports a CONNECT statement that has a USER Authentication clause without the USING validation_var specification. If the validation_var is not present, however, the database server rejects the connection at runtime.
On UNIX™, the user_id that you specify must be a valid login name and must exist in the /etc/passwd file. If the application connects to a remote server, the login name must exist in this file on both the local and remote database servers.
On Windows™, the user_id that you specify must be a valid login name and must exist in User Manager. If the application connects to a remote server, the login name must exist in the domain of both the client and the server.