extended our support for error messages returned from servers.

This commit is contained in:
blackhedd 2007-03-20 18:28:34 +00:00
parent 17dcc52e05
commit 789b36c9d7
3 changed files with 27 additions and 2 deletions

View file

@ -119,6 +119,14 @@ class LdapPdu
end
end
# Returns a hash which (usually) defines the members :resultCode, :errorMessage, and :matchedDN.
# These values come directly from an LDAP response packet returned by the remote peer.
# See #result_code for a sugaring.
#
def result
@ldap_result || {}
end
#
# result_code
# This returns an LDAP result code taken from the PDU,