Branch: Tag:

2007-05-23

2007-05-23 11:55:01 by Martin Stjernholm <mast@lysator.liu.se>

Added the flag SEARCH_RETURN_DECODE_ERRORS to be able to handle decode
errors in individual attributes in results gracefully. Also improved error
messages when attribute values or the returned DN can't be decoded.

Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.106
Rev: lib/modules/Protocols.pmod/LDAP.pmod/module.pmod:1.29

129:    "LObject": "predef::Languages.PLIS.Builtin":1, "predef::Languages.PLIS.Lambda":1, "predef::Languages.PLIS.SelfEvaluating":1,    "Language ": "predef::Calendar.TimeRange.set_language":1,    "LineIterator": "predef::Stdio.File.line_iterator":1, +  "Locale.Charset.DecodeError": "predef::Protocols.LDAP":1, "predef::Protocols.LDAP.client.result.fetch":3, "predef::Protocols.LDAP.client.result.fetch_all":1, "predef::Protocols.LDAP.client.result.get_dn":1,    "MIME.encode_words_tokenized_remapped": "predef::MIME.encode_words_text_remapped":1,    "Minute": "predef::Calendar.YMD.second":2,    "Minute ": "predef::Calendar.YMD.second":4,
163:    "Regexp.PCRE.Plain.replace": "predef::Regexp.replace":1,    "Regexp.PCRE.Plain.split": "predef::Regexp.split":1,    "Regexp.PCRE.Plain.split2": "predef::Regexp.split2":1, +  "ResultEntry": "predef::Protocols.LDAP.client.result.fetch":1, "predef::Protocols.LDAP.client.result.fetch_all":1,    "RootNode": "predef::Parser.XML.Tree.parse_input":1,    "Rule.Language": "predef::Calendar.TimeRange.set_language":1,    "Ruleset.Timezone": "predef::Calendar.Timezone":1,
1046:   "predef::Protocols.HTTP.Session.set_cookie": "Cookie"   "predef::Protocols.HTTP.do_method": "do_sync_method()"   "predef::Protocols.IRC.Client.create": "getuid" "uname" + "predef::Protocols.LDAP": "Locale.Charset.DecodeError"   "predef::Protocols.LDAP.client.create": "Protocol.LDAP.parse_ldap_url" -  + "predef::Protocols.LDAP.client.result.fetch": "Locale.Charset.DecodeError" "ResultEntry" + "predef::Protocols.LDAP.client.result.fetch_all": "Locale.Charset.DecodeError" "ResultEntry" + "predef::Protocols.LDAP.client.result.get_dn": "Locale.Charset.DecodeError"   "predef::Protocols.LDAP.client.search": "Protocols.LDAP.quote_filter_value"   "predef::Protocols.LDAP.make_filter": "Protocols.LDAP.search"   "predef::Protocols.LDAP.parse_ldap_url": "get_parsed_url"