xref: /illumos-gate/usr/src/man/man3sasl/sasl_errors.3sasl (revision 6446bd46ed1b4e9f69da153665f82181ccaedad5)
te
Copyright (C) 1998-2003, Carnegie Mellon Univeristy. All Rights Reserved.
Portions Copyright (C) 2003, Sun Microsystems,
Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SASL_ERRORS 3SASL "Oct 14, 2003"
NAME
sasl_errors - SASL error codes
SYNOPSIS

#include <sasl/sasl.h>
DESCRIPTION

This man page describes the general error codes that can be returned by calls into the SASL library. The meaning of the error code can vary slightly based upon the context of the call from which it is returned.

ERRORS
"Common Result Codes"
SASL_OK

The call was successful.

SASL_CONTINUE

Another step is required for authentication.

SASL_FAILURE

Generic failure.

SASL_NOMEM

Memory shortage failure.

SASL_BUFOVER

Overflowed buffer.

SASL_NOMECH

The mechanism was not supported, or no mechanisms matched the requirements.

SASL_BADPROT

The protocol was bad, invalid or cancelled.

SASL_NOT DONE

Cannot request information. Not applicable until later in the exchange.

SASL_BADPARAM

An invalid parameter was supplied.

SASL_TRYAGAIN

Transient failure, for example, a weak key.

SASL_BADMAC

Integrity check failed.

SASL_NOTINIT

SASL library not initialized.

"Client Only Result Codes"
SASL_INTERACT

Needs user interaction.

SASL_BADSERV

Server failed mutual authentication step.

SASL_WRONGMECH

Mechanism does not support the requested feature.

"Server Only Result Codes"
SASL_BADAUTH

Authentication failure.

SASL_NOAUTHZ

Authorization failure.

SASL_TOOWEAK

The mechanism is too weak for this user.

SASL_ENCRYPT

Encryption is needed to use this mechanism.

SASL_TRANS

One time use of a plaintext password will enable requested mechanism for user.

SASL_EXPIRED

The passphrase expired and must be reset.

SASL_DISABLED

Account disabled.

SASL_NOUSER

User not found.

SASL_BADVERS

Version mismatch with plug-in.

SASL_NOVERIFY

The user exists, but there is no verifier for the user.

"Password Setting Result Codes"
SASL_PWLOCK

Passphrase locked.

SASL_NOCHANGE

The requested change was not needed.

SASL_WEAKPASS

The passphrase is too weak for security policy.

SASL_NOUSERPASS

User supplied passwords are not permitted.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
MT-Level Safe
SEE ALSO

attributes (7)