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 >
Text File  |  2000-03-23  |  12KB  |  329 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Net::LDAP::Constant -- Constants for use with Net::LDAP</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> Net::LDAP::Constant -- Constants for use with Net::LDAP</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#see also">SEE ALSO</A></LI>
  26.     <LI><A HREF="#author">AUTHOR</A></LI>
  27.     <LI><A HREF="#copyright">COPYRIGHT</A></LI>
  28. </UL>
  29. <!-- INDEX END -->
  30.  
  31. <HR>
  32. <P>
  33. <H1><A NAME="name">NAME</A></H1>
  34. <P>Net::LDAP::Constant -- Constants for use with Net::LDAP</P>
  35. <P>
  36. <HR>
  37. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  38. <UL>
  39. <LI>Linux</LI>
  40. <LI>Solaris</LI>
  41. <LI>Windows</LI>
  42. </UL>
  43. <HR>
  44. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  45. <PRE>
  46.  use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);</PRE>
  47. <PRE>
  48.  # import all constants 
  49.  use Net::LDAP qw(:all);</PRE>
  50. <P>
  51. <HR>
  52. <H1><A NAME="description">DESCRIPTION</A></H1>
  53. <P>Net::LDAP::Constant exports constant subroutines for the following LDAP
  54. error codes.</P>
  55. <DL>
  56. <DT><STRONG><A NAME="item_LDAP_SUCCESS">LDAP_SUCCESS</A></STRONG><BR>
  57. <DD>
  58. Operation completed without error
  59. <P></P>
  60. <DT><STRONG><A NAME="item_LDAP_OPERATIONS_ERROR">LDAP_OPERATIONS_ERROR</A></STRONG><BR>
  61. <DD>
  62. Server encountered an internal error
  63. <P></P>
  64. <DT><STRONG><A NAME="item_LDAP_PROTOCOL_ERROR">LDAP_PROTOCOL_ERROR</A></STRONG><BR>
  65. <DD>
  66. Unrecognized version number or incorrect PDU structure
  67. <P></P>
  68. <DT><STRONG><A NAME="item_LDAP_TIMELIMIT_EXCEEDED">LDAP_TIMELIMIT_EXCEEDED</A></STRONG><BR>
  69. <DD>
  70. The time limit on a search operation has been exceeded
  71. <P></P>
  72. <DT><STRONG><A NAME="item_LDAP_SIZELIMIT_EXCEEDED">LDAP_SIZELIMIT_EXCEEDED</A></STRONG><BR>
  73. <DD>
  74. The maximum number of search results to return has been exceeded.
  75. <P></P>
  76. <DT><STRONG><A NAME="item_LDAP_COMPARE_FALSE">LDAP_COMPARE_FALSE</A></STRONG><BR>
  77. <DD>
  78. This code is returned when a compare request completes and the attribute value
  79. given is not in the entry specified
  80. <P></P>
  81. <DT><STRONG><A NAME="item_LDAP_COMPARE_TRUE">LDAP_COMPARE_TRUE</A></STRONG><BR>
  82. <DD>
  83. This code is returned when a compare request completes and the attribute value
  84. given is in the entry specified
  85. <P></P>
  86. <DT><STRONG><A NAME="item_LDAP_AUTH_METHOD_NOT_SUPPORTED">LDAP_AUTH_METHOD_NOT_SUPPORTED</A></STRONG><BR>
  87. <DD>
  88. Unrecognized SASL mechanism name
  89. <P></P>
  90. <DT><STRONG><A NAME="item_LDAP_STRONG_AUTH_REQUIRED">LDAP_STRONG_AUTH_REQUIRED</A></STRONG><BR>
  91. <DD>
  92. The server requires authentication be performed with a SASL mechanism
  93. <P></P>
  94. <DT><STRONG><A NAME="item_LDAP_PARTIAL_RESULTS">LDAP_PARTIAL_RESULTS</A></STRONG><BR>
  95. <DD>
  96. Returned to version 2 clients when a referral is returned. The response
  97. will contain a list of URL's for other servers.
  98. <P></P>
  99. <DT><STRONG><A NAME="item_LDAP_REFERRAL">LDAP_REFERRAL</A></STRONG><BR>
  100. <DD>
  101. The server is referring the client to another server. The response will
  102. contain a list of URL's
  103. <P></P>
  104. <DT><STRONG><A NAME="item_LDAP_ADMIN_LIMIT_EXCEEDED">LDAP_ADMIN_LIMIT_EXCEEDED</A></STRONG><BR>
  105. <DD>
  106. The server has exceed the maximum number of entries to search while gathering
  107. a list of search result candidates
  108. <P></P>
  109. <DT><STRONG><A NAME="item_LDAP_UNAVAILABLE_CRITICAL_EXT">LDAP_UNAVAILABLE_CRITICAL_EXT</A></STRONG><BR>
  110. <DD>
  111. A control or matching rule specified in the request is not supported by
  112. the server
  113. <P></P>
  114. <DT><STRONG><A NAME="item_LDAP_CONFIDENTIALITY_REQUIRED">LDAP_CONFIDENTIALITY_REQUIRED</A></STRONG><BR>
  115. <DD>
  116. This result code is returned when confidentiality is required to perform
  117. a given operation
  118. <P></P>
  119. <DT><STRONG><A NAME="item_LDAP_SASL_BIND_IN_PROGRESS">LDAP_SASL_BIND_IN_PROGRESS</A></STRONG><BR>
  120. <DD>
  121. The server requires the client to send a new bind request, with the same SASL
  122. mechanism, to continue the authentication process
  123. <P></P>
  124. <DT><STRONG><A NAME="item_LDAP_NO_SUCH_ATTRIBUTE">LDAP_NO_SUCH_ATTRIBUTE</A></STRONG><BR>
  125. <DD>
  126. The request referenced an attribute that does not exist
  127. <P></P>
  128. <DT><STRONG><A NAME="item_LDAP_UNDEFINED_TYPE">LDAP_UNDEFINED_TYPE</A></STRONG><BR>
  129. <DD>
  130. The request contains an undefined attribute type
  131. <P></P>
  132. <DT><STRONG><A NAME="item_LDAP_INAPPROPRIATE_MATCHING">LDAP_INAPPROPRIATE_MATCHING</A></STRONG><BR>
  133. <DD>
  134. An extensible matching rule in the given filter does not apply to the specified
  135. attribute
  136. <P></P>
  137. <DT><STRONG><A NAME="item_LDAP_CONSTRAINT_VIOLATION">LDAP_CONSTRAINT_VIOLATION</A></STRONG><BR>
  138. <DD>
  139. The request contains a value which does not meet with certain constraints.
  140. This result can be returned as a consequence of
  141. <UL>
  142. <LI>
  143. The request was to add or modify a user password, and the password fails to
  144. meet the criteria the server is configured to check. This could be that the
  145. password is too short, or a recognizable word (e.g. it matches one of the
  146. attributes in the users entry) or it matches a previous password used by
  147. the same user.
  148. <P></P>
  149. <LI>
  150. The request is a bind request to a user account that has been locked
  151. <P></P></UL>
  152. <DT><STRONG><A NAME="item_LDAP_TYPE_OR_VALUE_EXISTS">LDAP_TYPE_OR_VALUE_EXISTS</A></STRONG><BR>
  153. <DD>
  154. The request attempted to add an attribute type or value that already exists
  155. <P></P>
  156. <DT><STRONG><A NAME="item_LDAP_INVALID_SYNTAX">LDAP_INVALID_SYNTAX</A></STRONG><BR>
  157. <DD>
  158. Some part of the request contained an invalid syntax. It could be a search
  159. with an invalid filter or a request to modify the schema and the given
  160. schema has a bad syntax.
  161. <P></P>
  162. <DT><STRONG><A NAME="item_LDAP_NO_SUCH_OBJECT">LDAP_NO_SUCH_OBJECT</A></STRONG><BR>
  163. <DD>
  164. The server cannot find an object specified in the request
  165. <P></P>
  166. <DT><STRONG><A NAME="item_LDAP_ALIAS_PROBLEM">LDAP_ALIAS_PROBLEM</A></STRONG><BR>
  167. <DD>
  168. Server encountered a problem while attempting to dereference an alias
  169. <P></P>
  170. <DT><STRONG><A NAME="item_LDAP_INVALID_DN_SYNTAX">LDAP_INVALID_DN_SYNTAX</A></STRONG><BR>
  171. <DD>
  172. The request contained an invalid DN
  173. <P></P>
  174. <DT><STRONG><A NAME="item_LDAP_IS_LEAF">LDAP_IS_LEAF</A></STRONG><BR>
  175. <DD>
  176. The specified entry is a leaf entry
  177. <P></P>
  178. <DT><STRONG><A NAME="item_LDAP_ALIAS_DEREF_PROBLEM">LDAP_ALIAS_DEREF_PROBLEM</A></STRONG><BR>
  179. <DD>
  180. Server encountered a problem while attempting to dereference an alias
  181. <P></P>
  182. <DT><STRONG><A NAME="item_LDAP_INAPPROPRIATE_AUTH">LDAP_INAPPROPRIATE_AUTH</A></STRONG><BR>
  183. <DD>
  184. The server requires the client which had attempted to bind anonymously or
  185. without supplying credentials to provide some form of credentials
  186. <P></P>
  187. <DT><STRONG><A NAME="item_LDAP_INVALID_CREDENTIALS">LDAP_INVALID_CREDENTIALS</A></STRONG><BR>
  188. <DD>
  189. The wrong password was supplied or the SASL credentials could not be processed
  190. <P></P>
  191. <DT><STRONG><A NAME="item_LDAP_INSUFFICIENT_ACCESS">LDAP_INSUFFICIENT_ACCESS</A></STRONG><BR>
  192. <DD>
  193. The client does not have sufficient access to perform the requested
  194. operation
  195. <P></P>
  196. <DT><STRONG><A NAME="item_LDAP_BUSY">LDAP_BUSY</A></STRONG><BR>
  197. <DD>
  198. The server is too busy to perform requested operation
  199. <P></P>
  200. <DT><STRONG><A NAME="item_LDAP_UNAVAILABLE">LDAP_UNAVAILABLE</A></STRONG><BR>
  201. <DD>
  202. The server in unavailable to perform the request, or the server is
  203. shutting down
  204. <P></P>
  205. <DT><STRONG><A NAME="item_LDAP_UNWILLING_TO_PERFORM">LDAP_UNWILLING_TO_PERFORM</A></STRONG><BR>
  206. <DD>
  207. The server is unwilling to perform the requested operation
  208. <P></P>
  209. <DT><STRONG><A NAME="item_LDAP_LOOP_DETECT">LDAP_LOOP_DETECT</A></STRONG><BR>
  210. <DD>
  211. The server was unable to perform the request due to an internal loop detected
  212. <P></P>
  213. <DT><STRONG><A NAME="item_LDAP_NAMING_VIOLATION">LDAP_NAMING_VIOLATION</A></STRONG><BR>
  214. <DD>
  215. The request violates the structure of the DIT
  216. <P></P>
  217. <DT><STRONG><A NAME="item_LDAP_OBJECT_CLASS_VIOLATION">LDAP_OBJECT_CLASS_VIOLATION</A></STRONG><BR>
  218. <DD>
  219. The request specifies a change to an existing entry or the addition of a new
  220. entry that does not comply with the servers schema
  221. <P></P>
  222. <DT><STRONG><A NAME="item_LDAP_NOT_ALLOWED_ON_NONLEAF">LDAP_NOT_ALLOWED_ON_NONLEAF</A></STRONG><BR>
  223. <DD>
  224. The requested operation is not allowed on an entry that has child entries
  225. <P></P>
  226. <DT><STRONG><A NAME="item_LDAP_NOT_ALLOWED_ON_RDN">LDAP_NOT_ALLOWED_ON_RDN</A></STRONG><BR>
  227. <DD>
  228. The requested operation ill affect the RDN of the entry
  229. <P></P>
  230. <DT><STRONG><A NAME="item_LDAP_ALREADY_EXISTS">LDAP_ALREADY_EXISTS</A></STRONG><BR>
  231. <DD>
  232. The client attempted to add an entry that already exists. This can occur as
  233. a result of
  234. <UL>
  235. <LI>
  236. An add request was submitted with a DN that already exists
  237. <P></P>
  238. <LI>
  239. A modify DN requested was submitted, where the requested new DN already exists
  240. <P></P>
  241. <LI>
  242. The request is adding an attribute to the schema and an attribute with the
  243. given OID or name already exists
  244. <P></P></UL>
  245. <DT><STRONG><A NAME="item_LDAP_NO_OBJECT_CLASS_MODS">LDAP_NO_OBJECT_CLASS_MODS</A></STRONG><BR>
  246. <DD>
  247. Request attempt to modify the object class of an entry that should not be
  248. modified
  249. <P></P>
  250. <DT><STRONG><A NAME="item_LDAP_RESULTS_TOO_LARGE">LDAP_RESULTS_TOO_LARGE</A></STRONG><BR>
  251. <DD>
  252. The results of the request are to large
  253. <P></P>
  254. <DT><STRONG><A NAME="item_LDAP_AFFECTS_MULTIPLE_DSAS">LDAP_AFFECTS_MULTIPLE_DSAS</A></STRONG><BR>
  255. <DD>
  256. The requested operation needs to be performed on multiple servers where
  257. the requested operation is not permitted
  258. <P></P>
  259. <DT><STRONG><A NAME="item_LDAP_OTHER">LDAP_OTHER</A></STRONG><BR>
  260. <DD>
  261. An unknown error has occurred
  262. <P></P>
  263. <DT><STRONG><A NAME="item_LDAP_SERVER_DOWN">LDAP_SERVER_DOWN</A></STRONG><BR>
  264. <DD>
  265. <CODE>Net::LDAP</CODE> cannot establish a connection or the connection has been lost
  266. <P></P>
  267. <DT><STRONG><A NAME="item_LDAP_LOCAL_ERROR">LDAP_LOCAL_ERROR</A></STRONG><BR>
  268. <DD>
  269. An error occurred in <CODE>Net::LDAP</CODE>
  270. <P></P>
  271. <DT><STRONG><A NAME="item_LDAP_ENCODING_ERROR">LDAP_ENCODING_ERROR</A></STRONG><BR>
  272. <DD>
  273. <CODE>Net::LDAP</CODE> encountered an error while encoding the request packet that would
  274. have been sent to the server
  275. <P></P>
  276. <DT><STRONG><A NAME="item_LDAP_DECODING_ERROR">LDAP_DECODING_ERROR</A></STRONG><BR>
  277. <DD>
  278. <CODE>Net::LDAP</CODE> encountered an error while decoding a response packet from
  279. the server.
  280. <P></P>
  281. <DT><STRONG><A NAME="item_LDAP_TIMEOUT">LDAP_TIMEOUT</A></STRONG><BR>
  282. <DD>
  283. <CODE>Net::LDAP</CODE> timeout while waiting for a response from the server
  284. <P></P>
  285. <DT><STRONG><A NAME="item_LDAP_AUTH_UNKNOWN">LDAP_AUTH_UNKNOWN</A></STRONG><BR>
  286. <DD>
  287. The method of authentication requested in a bind request is unknown to
  288. the server
  289. <P></P>
  290. <DT><STRONG><A NAME="item_LDAP_FILTER_ERROR">LDAP_FILTER_ERROR</A></STRONG><BR>
  291. <DD>
  292. An error occurred while encoding the given search filter.
  293. <P></P>
  294. <DT><STRONG><A NAME="item_LDAP_USER_CANCELED">LDAP_USER_CANCELED</A></STRONG><BR>
  295. <DD>
  296. The user canceled the operation
  297. <P></P>
  298. <DT><STRONG><A NAME="item_LDAP_PARAM_ERROR">LDAP_PARAM_ERROR</A></STRONG><BR>
  299. <DD>
  300. An invalid parameter was specified
  301. <P></P>
  302. <DT><STRONG><A NAME="item_LDAP_NO_MEMORY">LDAP_NO_MEMORY</A></STRONG><BR>
  303. <DD>
  304. Out of memory error
  305. <P></P></DL>
  306. <P>
  307. <HR>
  308. <H1><A NAME="see also">SEE ALSO</A></H1>
  309. <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>
  310. <P>
  311. <HR>
  312. <H1><A NAME="author">AUTHOR</A></H1>
  313. <P>Graham Barr <<EM><A HREF="mailto:gbarr@pobox.com">gbarr@pobox.com</A></EM>></P>
  314. <P>
  315. <HR>
  316. <H1><A NAME="copyright">COPYRIGHT</A></H1>
  317. <P>Copyright (c) 1998-1999 Graham Barr. All rights reserved. This program is
  318. free software; you can redistribute it and/or modify it under the same
  319. terms as Perl itself.</P>
  320. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  321. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  322. <STRONG><P CLASS=block> Net::LDAP::Constant -- Constants for use with Net::LDAP</P></STRONG>
  323. </TD></TR>
  324. </TABLE>
  325.  
  326. </BODY>
  327.  
  328. </HTML>
  329.