Next: , Previous: , Up: Standard Commands   [Contents][Index]


B.2.5 The AUTH Command

The AUTH command allows client to authenticate itself to the server. Depending on the server configuration, authenticated users may get access to more databases (see Database Visibility) or more detailed server information (see show-sys-info).

Command: AUTH username auth-string

Authenticate client to the server using a username and password. The auth-string is computed as in the APOP protocol (RFC1939. Briefly, it is the MD5 checksum of the concatenation of the msg-id (see Initial Reply) and the shared secret that is stored both on the server and client machines.

See Authentication, for information on how to configure server for authenticating clients.

This command is supported only if ‘auth’ capability is requested in the configuration (see auth).