Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Graham Barr
On Fri, January 20, 2006 1:17 pm, Peter Marschall wrote: >> > Other ideas welcome ? >> > Something along the lines "bitwise-identical", "one-to-one", only >> > shorter and without "-" ;-) >> >> How about "bytes" or "raw"? > > I like "raw" ;-) Yes, so do I. Graham.

Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Peter Marschall
Hi, On Friday, 20. January 2006 17:31, Chris Ridd wrote: > On 20/1/06 4:13, Peter Marschall <[EMAIL PROTECTED]> wrote: > > On Friday, 20. January 2006 15:00, Chris Ridd wrote: > >> On 20/1/06 1:49, Peter Marschall <[EMAIL PROTECTED]> wrote: > >>> as announced in my post from 28. October (see below

Re: Net::LDAP::FilterMatch

2006-01-20 Thread [EMAIL PROTECTED]
Peter, Peter Marschall schreef: Hi, On Wednesday, 18. January 2006 21:30, [EMAIL PROTECTED] wrote: sounds like a reasonable wish ( see attached patch ;-) Allowing developers to specify their own matching module instead of the ones we pre-cooked is a little tricky since every modu

Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Chris Ridd
On 20/1/06 4:13, Peter Marschall <[EMAIL PROTECTED]> wrote: > Hi, > > On Friday, 20. January 2006 15:00, Chris Ridd wrote: >> On 20/1/06 1:49, Peter Marschall <[EMAIL PROTECTED]> wrote: >>> as announced in my post from 28. October (see below) I have committed >>> a patch to perl-ldap's SVN that a

Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Peter Marschall
Hi, On Friday, 20. January 2006 15:00, Chris Ridd wrote: > On 20/1/06 1:49, Peter Marschall <[EMAIL PROTECTED]> wrote: > > as announced in my post from 28. October (see below) I have committed > > a patch to perl-ldap's SVN that allows to get attribute values from LDAP > > directories and LDIF fil

Re: $entry->delete()

2006-01-20 Thread Mike Whitaker
On 20 Jan 2006, at 14:13, Mike Whitaker wrote: Am I missing something obvious here? $entry->delete(); $entry->update(); Yes I am. :) $entry->update($ldap); # clot Error message isn't that informative, though :) Can I take my foot out my mouth, please :)

$entry->delete()

2006-01-20 Thread Mike Whitaker
Am I missing something obvious here? $entry->delete(); $entry->update(); gets me: Can't call method "delete" on an undefined value at /usr/share/perl5/ Net/LDAP/Entry.pm line 242, line 283. Ok - the obvious approach is to use $ldap->delete($entry->dn); but the docs do say: "delete ( ) Del

Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Chris Ridd
On 20/1/06 1:49, Peter Marschall <[EMAIL PROTECTED]> wrote: > Hi list, > > as announced in my post from 28. October (see below) I have committed > a patch to perl-ldap's SVN that allows to get attribute values from LDAP > directories and LDIF files correctly encoded as Perl strings. > > This is

Re: non-ASCII chars from LDAP correctly encoded in Perl

2006-01-20 Thread Peter Marschall
Hi list, as announced in my post from 28. October (see below) I have committed a patch to perl-ldap's SVN that allows to get attribute values from LDAP directories and LDIF files correctly encoded as Perl strings. This is especially interesting for people who have strings with non-ASCII values in

Re: Net::LDAP hangs and then throws a "do_ypcall: clnt_call: RPC: Timed out" error

2006-01-20 Thread Peter Marschall
Hi, sorry it took a little longer ;-) On Tuesday, 10. January 2006 03:30, [EMAIL PROTECTED] wrote: > I'm trying to read a list of values from a file (single entry per line) and > use the value in a ldap-search query. When I try the script below it just > hangs at the search line (used the perl -

Re: Net::LDAP & LDAP Decoding Error

2006-01-20 Thread Peter Marschall
Hi René, On Wednesday, 18. January 2006 22:18, René Pfeiffer wrote: > I have a question about an LDAP query with Net::LDAP. I send queries to > an OpenLDAP server (version 2.2.24). The queries are very simple and > intended to detect already existing user entries. The code that prepares > and send

Re: Net::LDAP::FilterMatch

2006-01-20 Thread Peter Marschall
Hi, On Wednesday, 18. January 2006 21:30, [EMAIL PROTECTED] wrote: > sounds like a reasonable wish ( see attached patch ;-) > Allowing developers to specify their own matching module instead of the > ones we pre-cooked is a little tricky since every module uses a > different name for the match met