home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_297d41ed6f819adbdf15fa80935432d7
< prev
next >
Wrap
Text File
|
2000-03-23
|
12KB
|
329 lines
<HTML>
<HEAD>
<TITLE>Net::LDAP::Constant -- Constants for use with Net::LDAP</TITLE>
<LINK REL="stylesheet" HREF="../../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> Net::LDAP::Constant -- Constants for use with Net::LDAP</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
<LI><A HREF="#copyright">COPYRIGHT</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>Net::LDAP::Constant -- Constants for use with Net::LDAP</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);</PRE>
<PRE>
# import all constants
use Net::LDAP qw(:all);</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>Net::LDAP::Constant exports constant subroutines for the following LDAP
error codes.</P>
<DL>
<DT><STRONG><A NAME="item_LDAP_SUCCESS">LDAP_SUCCESS</A></STRONG><BR>
<DD>
Operation completed without error
<P></P>
<DT><STRONG><A NAME="item_LDAP_OPERATIONS_ERROR">LDAP_OPERATIONS_ERROR</A></STRONG><BR>
<DD>
Server encountered an internal error
<P></P>
<DT><STRONG><A NAME="item_LDAP_PROTOCOL_ERROR">LDAP_PROTOCOL_ERROR</A></STRONG><BR>
<DD>
Unrecognized version number or incorrect PDU structure
<P></P>
<DT><STRONG><A NAME="item_LDAP_TIMELIMIT_EXCEEDED">LDAP_TIMELIMIT_EXCEEDED</A></STRONG><BR>
<DD>
The time limit on a search operation has been exceeded
<P></P>
<DT><STRONG><A NAME="item_LDAP_SIZELIMIT_EXCEEDED">LDAP_SIZELIMIT_EXCEEDED</A></STRONG><BR>
<DD>
The maximum number of search results to return has been exceeded.
<P></P>
<DT><STRONG><A NAME="item_LDAP_COMPARE_FALSE">LDAP_COMPARE_FALSE</A></STRONG><BR>
<DD>
This code is returned when a compare request completes and the attribute value
given is not in the entry specified
<P></P>
<DT><STRONG><A NAME="item_LDAP_COMPARE_TRUE">LDAP_COMPARE_TRUE</A></STRONG><BR>
<DD>
This code is returned when a compare request completes and the attribute value
given is in the entry specified
<P></P>
<DT><STRONG><A NAME="item_LDAP_AUTH_METHOD_NOT_SUPPORTED">LDAP_AUTH_METHOD_NOT_SUPPORTED</A></STRONG><BR>
<DD>
Unrecognized SASL mechanism name
<P></P>
<DT><STRONG><A NAME="item_LDAP_STRONG_AUTH_REQUIRED">LDAP_STRONG_AUTH_REQUIRED</A></STRONG><BR>
<DD>
The server requires authentication be performed with a SASL mechanism
<P></P>
<DT><STRONG><A NAME="item_LDAP_PARTIAL_RESULTS">LDAP_PARTIAL_RESULTS</A></STRONG><BR>
<DD>
Returned to version 2 clients when a referral is returned. The response
will contain a list of URL's for other servers.
<P></P>
<DT><STRONG><A NAME="item_LDAP_REFERRAL">LDAP_REFERRAL</A></STRONG><BR>
<DD>
The server is referring the client to another server. The response will
contain a list of URL's
<P></P>
<DT><STRONG><A NAME="item_LDAP_ADMIN_LIMIT_EXCEEDED">LDAP_ADMIN_LIMIT_EXCEEDED</A></STRONG><BR>
<DD>
The server has exceed the maximum number of entries to search while gathering
a list of search result candidates
<P></P>
<DT><STRONG><A NAME="item_LDAP_UNAVAILABLE_CRITICAL_EXT">LDAP_UNAVAILABLE_CRITICAL_EXT</A></STRONG><BR>
<DD>
A control or matching rule specified in the request is not supported by
the server
<P></P>
<DT><STRONG><A NAME="item_LDAP_CONFIDENTIALITY_REQUIRED">LDAP_CONFIDENTIALITY_REQUIRED</A></STRONG><BR>
<DD>
This result code is returned when confidentiality is required to perform
a given operation
<P></P>
<DT><STRONG><A NAME="item_LDAP_SASL_BIND_IN_PROGRESS">LDAP_SASL_BIND_IN_PROGRESS</A></STRONG><BR>
<DD>
The server requires the client to send a new bind request, with the same SASL
mechanism, to continue the authentication process
<P></P>
<DT><STRONG><A NAME="item_LDAP_NO_SUCH_ATTRIBUTE">LDAP_NO_SUCH_ATTRIBUTE</A></STRONG><BR>
<DD>
The request referenced an attribute that does not exist
<P></P>
<DT><STRONG><A NAME="item_LDAP_UNDEFINED_TYPE">LDAP_UNDEFINED_TYPE</A></STRONG><BR>
<DD>
The request contains an undefined attribute type
<P></P>
<DT><STRONG><A NAME="item_LDAP_INAPPROPRIATE_MATCHING">LDAP_INAPPROPRIATE_MATCHING</A></STRONG><BR>
<DD>
An extensible matching rule in the given filter does not apply to the specified
attribute
<P></P>
<DT><STRONG><A NAME="item_LDAP_CONSTRAINT_VIOLATION">LDAP_CONSTRAINT_VIOLATION</A></STRONG><BR>
<DD>
The request contains a value which does not meet with certain constraints.
This result can be returned as a consequence of
<UL>
<LI>
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.
<P></P>
<LI>
The request is a bind request to a user account that has been locked
<P></P></UL>
<DT><STRONG><A NAME="item_LDAP_TYPE_OR_VALUE_EXISTS">LDAP_TYPE_OR_VALUE_EXISTS</A></STRONG><BR>
<DD>
The request attempted to add an attribute type or value that already exists
<P></P>
<DT><STRONG><A NAME="item_LDAP_INVALID_SYNTAX">LDAP_INVALID_SYNTAX</A></STRONG><BR>
<DD>
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.
<P></P>
<DT><STRONG><A NAME="item_LDAP_NO_SUCH_OBJECT">LDAP_NO_SUCH_OBJECT</A></STRONG><BR>
<DD>
The server cannot find an object specified in the request
<P></P>
<DT><STRONG><A NAME="item_LDAP_ALIAS_PROBLEM">LDAP_ALIAS_PROBLEM</A></STRONG><BR>
<DD>
Server encountered a problem while attempting to dereference an alias
<P></P>
<DT><STRONG><A NAME="item_LDAP_INVALID_DN_SYNTAX">LDAP_INVALID_DN_SYNTAX</A></STRONG><BR>
<DD>
The request contained an invalid DN
<P></P>
<DT><STRONG><A NAME="item_LDAP_IS_LEAF">LDAP_IS_LEAF</A></STRONG><BR>
<DD>
The specified entry is a leaf entry
<P></P>
<DT><STRONG><A NAME="item_LDAP_ALIAS_DEREF_PROBLEM">LDAP_ALIAS_DEREF_PROBLEM</A></STRONG><BR>
<DD>
Server encountered a problem while attempting to dereference an alias
<P></P>
<DT><STRONG><A NAME="item_LDAP_INAPPROPRIATE_AUTH">LDAP_INAPPROPRIATE_AUTH</A></STRONG><BR>
<DD>
The server requires the client which had attempted to bind anonymously or
without supplying credentials to provide some form of credentials
<P></P>
<DT><STRONG><A NAME="item_LDAP_INVALID_CREDENTIALS">LDAP_INVALID_CREDENTIALS</A></STRONG><BR>
<DD>
The wrong password was supplied or the SASL credentials could not be processed
<P></P>
<DT><STRONG><A NAME="item_LDAP_INSUFFICIENT_ACCESS">LDAP_INSUFFICIENT_ACCESS</A></STRONG><BR>
<DD>
The client does not have sufficient access to perform the requested
operation
<P></P>
<DT><STRONG><A NAME="item_LDAP_BUSY">LDAP_BUSY</A></STRONG><BR>
<DD>
The server is too busy to perform requested operation
<P></P>
<DT><STRONG><A NAME="item_LDAP_UNAVAILABLE">LDAP_UNAVAILABLE</A></STRONG><BR>
<DD>
The server in unavailable to perform the request, or the server is
shutting down
<P></P>
<DT><STRONG><A NAME="item_LDAP_UNWILLING_TO_PERFORM">LDAP_UNWILLING_TO_PERFORM</A></STRONG><BR>
<DD>
The server is unwilling to perform the requested operation
<P></P>
<DT><STRONG><A NAME="item_LDAP_LOOP_DETECT">LDAP_LOOP_DETECT</A></STRONG><BR>
<DD>
The server was unable to perform the request due to an internal loop detected
<P></P>
<DT><STRONG><A NAME="item_LDAP_NAMING_VIOLATION">LDAP_NAMING_VIOLATION</A></STRONG><BR>
<DD>
The request violates the structure of the DIT
<P></P>
<DT><STRONG><A NAME="item_LDAP_OBJECT_CLASS_VIOLATION">LDAP_OBJECT_CLASS_VIOLATION</A></STRONG><BR>
<DD>
The request specifies a change to an existing entry or the addition of a new
entry that does not comply with the servers schema
<P></P>
<DT><STRONG><A NAME="item_LDAP_NOT_ALLOWED_ON_NONLEAF">LDAP_NOT_ALLOWED_ON_NONLEAF</A></STRONG><BR>
<DD>
The requested operation is not allowed on an entry that has child entries
<P></P>
<DT><STRONG><A NAME="item_LDAP_NOT_ALLOWED_ON_RDN">LDAP_NOT_ALLOWED_ON_RDN</A></STRONG><BR>
<DD>
The requested operation ill affect the RDN of the entry
<P></P>
<DT><STRONG><A NAME="item_LDAP_ALREADY_EXISTS">LDAP_ALREADY_EXISTS</A></STRONG><BR>
<DD>
The client attempted to add an entry that already exists. This can occur as
a result of
<UL>
<LI>
An add request was submitted with a DN that already exists
<P></P>
<LI>
A modify DN requested was submitted, where the requested new DN already exists
<P></P>
<LI>
The request is adding an attribute to the schema and an attribute with the
given OID or name already exists
<P></P></UL>
<DT><STRONG><A NAME="item_LDAP_NO_OBJECT_CLASS_MODS">LDAP_NO_OBJECT_CLASS_MODS</A></STRONG><BR>
<DD>
Request attempt to modify the object class of an entry that should not be
modified
<P></P>
<DT><STRONG><A NAME="item_LDAP_RESULTS_TOO_LARGE">LDAP_RESULTS_TOO_LARGE</A></STRONG><BR>
<DD>
The results of the request are to large
<P></P>
<DT><STRONG><A NAME="item_LDAP_AFFECTS_MULTIPLE_DSAS">LDAP_AFFECTS_MULTIPLE_DSAS</A></STRONG><BR>
<DD>
The requested operation needs to be performed on multiple servers where
the requested operation is not permitted
<P></P>
<DT><STRONG><A NAME="item_LDAP_OTHER">LDAP_OTHER</A></STRONG><BR>
<DD>
An unknown error has occurred
<P></P>
<DT><STRONG><A NAME="item_LDAP_SERVER_DOWN">LDAP_SERVER_DOWN</A></STRONG><BR>
<DD>
<CODE>Net::LDAP</CODE> cannot establish a connection or the connection has been lost
<P></P>
<DT><STRONG><A NAME="item_LDAP_LOCAL_ERROR">LDAP_LOCAL_ERROR</A></STRONG><BR>
<DD>
An error occurred in <CODE>Net::LDAP</CODE>
<P></P>
<DT><STRONG><A NAME="item_LDAP_ENCODING_ERROR">LDAP_ENCODING_ERROR</A></STRONG><BR>
<DD>
<CODE>Net::LDAP</CODE> encountered an error while encoding the request packet that would
have been sent to the server
<P></P>
<DT><STRONG><A NAME="item_LDAP_DECODING_ERROR">LDAP_DECODING_ERROR</A></STRONG><BR>
<DD>
<CODE>Net::LDAP</CODE> encountered an error while decoding a response packet from
the server.
<P></P>
<DT><STRONG><A NAME="item_LDAP_TIMEOUT">LDAP_TIMEOUT</A></STRONG><BR>
<DD>
<CODE>Net::LDAP</CODE> timeout while waiting for a response from the server
<P></P>
<DT><STRONG><A NAME="item_LDAP_AUTH_UNKNOWN">LDAP_AUTH_UNKNOWN</A></STRONG><BR>
<DD>
The method of authentication requested in a bind request is unknown to
the server
<P></P>
<DT><STRONG><A NAME="item_LDAP_FILTER_ERROR">LDAP_FILTER_ERROR</A></STRONG><BR>
<DD>
An error occurred while encoding the given search filter.
<P></P>
<DT><STRONG><A NAME="item_LDAP_USER_CANCELED">LDAP_USER_CANCELED</A></STRONG><BR>
<DD>
The user canceled the operation
<P></P>
<DT><STRONG><A NAME="item_LDAP_PARAM_ERROR">LDAP_PARAM_ERROR</A></STRONG><BR>
<DD>
An invalid parameter was specified
<P></P>
<DT><STRONG><A NAME="item_LDAP_NO_MEMORY">LDAP_NO_MEMORY</A></STRONG><BR>
<DD>
Out of memory error
<P></P></DL>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P><A HREF="../../../../site/lib/Net/LDAP.html">the Net::LDAP manpage</A>, <A HREF="../../../../site/lib/Net/LDAP/Message.html">the Net::LDAP::Message manpage</A></P>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>Graham Barr <<EM><A HREF="mailto:gbarr@pobox.com">gbarr@pobox.com</A></EM>></P>
<P>
<HR>
<H1><A NAME="copyright">COPYRIGHT</A></H1>
<P>Copyright (c) 1998-1999 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.</P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> Net::LDAP::Constant -- Constants for use with Net::LDAP</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>