CONSTANT(1)

NAME
Net::LDAP::Constant - Constants for use with Net::LDAP

SYNOPSIS
 use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
 # import all constants
 use Net::LDAP qw(:all);

DESCRIPTION
Net::LDAP::Constant exports constant subroutines for the following LDAP error codes. Operation completed without error Server encountered an internal error Unrecognized version number or incorrect PDU structure The time limit on a search operation has been exceeded The maximum number of search results to return has been exceeded. This code is returned when a compare request completes and the attribute value given is not in the entry specified This code is returned when a compare request completes and the attribute value given is in the entry specified Unrecognized SASL mechanism name The server requires authentication be performed with a SASL mechanism Returned to version 2 clients when a referral is returned. The response will contain a list of URL's for other servers. The server is referring the client to another server. The response will contain a list of URL's The server has exceed the maximum number of entries to search while gathering a list of search result candidates A control or matching rule specified in the request is not supported by the server This result code is returned when confidentiality is required to perform a given operation The server requires the client to send a new bind request, with the same SASL mechanism, to continue the authentication process The request referenced an attribute that does not exist The request contains an undefined attribute type An extensible matching rule in the given filter does not apply to the specified attribute The request contains a value which does not meet with certain constraints. This result can be returned as a consequence of
    The request was to add or modify a user password, and the password fails to meet the criteria the server is configured to check. This could be that the password is too short, or a recognizable word (e.g. it matches one of the attributes in the users entry) or it matches a previous password used by the same user. The request is a bind request to a user account that has been locked
The request attempted to add an attribute type or value that already exists Some part of the request contained an invalid syntax. It could be a search with an invalid filter or a request to modify the schema and the given schema has a bad syntax. The server cannot find an object specified in the request Server encountered a problem while attempting to dereference an alias The request contained an invalid DN The specified entry is a leaf entry Server encountered a problem while attempting to dereference an alias The server requires the client which had attempted to bind anonymously or without supplying credentials to provide some form of credentials The wrong password was supplied or the SASL credentials could not be processed The client does not have sufficient access to perform the requested operation The server is too busy to perform requested operation The server in unavailable to perform the request, or the server is shutting down The server is unwilling to perform the requested operation The server was unable to perform the request due to an internal loop detected The search contained a "virtual list view" control, but not a server-side sorting control, which is required when a "virtual list view" is given. The search contained a control for a "virtual list view" and the results exceeded the range specified by the requested offsets. The request violates the structure of the DIT The request specifies a change to an existing entry or the addition of a new entry that does not comply with the servers schema The requested operation is not allowed on an entry that has child entries The requested operation ill affect the RDN of the entry The client attempted to add an entry that already exists. This can occur as a result of
    An add request was submitted with a DN that already exists A modify DN requested was submitted, where the requested new DN already exists The request is adding an attribute to the schema and an attribute with the given OID or name already exists
Request attempt to modify the object class of an entry that should not be modified The results of the request are to large The requested operation needs to be performed on multiple servers where the requested operation is not permitted An unknown error has occurred `Net::LDAP' cannot establish a connection or the connection has been lost An error occurred in `Net::LDAP' `Net::LDAP' encountered an error while encoding the request packet that would have been sent to the server `Net::LDAP' encountered an error while decoding a response packet from the server. `Net::LDAP' timeout while waiting for a response from the server The method of authentication requested in a bind request is unknown to the server An error occurred while encoding the given search filter. The user canceled the operation An invalid parameter was specified Out of memory error A connection to the server could not be established An attempt has been made to use a feature not supported by Net::LDAP The controls required to perform the requested operation were not found. No results were returned from the server. There are more results in the chain of results. A loop has been detected. For example when following referals. The referral hop limit has been exceeded.

SEE ALSO
Net::LDAP, Net::LDAP::Message

AUTHOR
Graham Barr <gbarr@pobox.com>

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap-dev@lists.sourceforge.net>

COPYRIGHT
Copyright (c) 1998-2000 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

$Id: //depot/ldap-asn/lib/Net/LDAP/Constant.pod#3 $