On 28/9/06 10:43, Alexander Foken <[EMAIL PROTECTED]> wrote:
> And a second note: I would prefer to have a placeholder mechanism like
> in DBI, so I don't have to care about escaping strings. Something like
> filter => ["(&(employeetype=?)(gender=?))",$type,$gender ]
The sentiment's good, but I t
On Sep 28, 2006, at 4:43 PM, Alexander Foken wrote:
The function Net::LDAP::Filter::_escape($) does exactly what is
needed here. It is not exported, not documented, and it seems to be
a private function, but as Perl is not Java, you can use it. (But
be aware that _escape() may disappear or
The function Net::LDAP::Filter::_escape($) does exactly what is needed
here. It is not exported, not documented, and it seems to be a private
function, but as Perl is not Java, you can use it. (But be aware that
_escape() may disappear or change its behavior. In the worst case, copy
that single
On 27/9/06 5:21, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I am writing a simple search script using Net::LDAP. The problem that I
> am having is with the filter.
>
> When I execute my script I get the following error message: "Bad filter at
> line 15".
>
> The attribute th
Thanks.
The second backslash works.
Peter Gietz <[EMAIL PROTECTED]>
09/27/2006 01:46 PM
To
[EMAIL PROTECTED]
cc
"Colbourn, Charles" <[EMAIL PROTECTED]>, perl-ldap@perl.org
Subject
Re: Search filter problem
Yes now the metacharacter is the backslash, that perl
Not even an error message.
"Colbourn, Charles" <[EMAIL PROTECTED]>
09/27/2006 12:32 PM
To
<[EMAIL PROTECTED]>
cc
Subject
RE: Search filter problem
Hi,
according to the rfc, ( and ) are reserved characters (because they
delimit clauses in the filter, the sa
Thanks for you help.
I tried this, but now I don't get any out put. Not even an error message.
"Colbourn, Charles" <[EMAIL PROTECTED]>
09/27/2006 12:32 PM
To
<[EMAIL PROTECTED]>
cc
Subject
RE: Search filter problem
Hi,
according to the rfc, ( and ) are r
Hello all,
I am writing a simple search script using Net::LDAP. The problem that I
am having is with the filter.
When I execute my script I get the following error message: "Bad filter at
line 15".
The attribute that I am use a part of the filter is "employeetype" and the
value is "consultan
On 10/12/03 11:17 pm, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hey,
>
> I tried by authenticating as the root but it still fails.I checked the
> config files and it ssays that read on all attributes is allowed for al
> lusers.
>
> I cant understand why just the and operator is failing desp
Hey,
I tried by authenticating as the root but it still fails.I checked the
config files and it ssays that read on all attributes is allowed for al
lusers.
I cant understand why just the and operator is failing despite any
restrictions.
Any clues
sharib
t; into your perl code. The reverse might not work because Net::LDAP is more
> > forgiving about missing outer ()s than ldapsearch.
> >
> > --Jim Harle
> >
> > On Fri, 5 Dec 2003, Graham Barr wrote:
> >
> > > Begin forwarded message:
> > >
iving about missing outer ()s than ldapsearch.
>
> --Jim Harle
>
> On Fri, 5 Dec 2003, Graham Barr wrote:
>
> > Begin forwarded message:
> > > From: [EMAIL PROTECTED]
> > > Date: 5 December 2003 22:23:49 GMT
> > > To: [EMAIL PROTECTED]
> > >
o your perl code. The reverse might not work because Net::LDAP is more
forgiving about missing outer ()s than ldapsearch.
--Jim Harle
On Fri, 5 Dec 2003, Graham Barr wrote:
> Begin forwarded message:
> > From: [EMAIL PROTECTED]
> > Date: 5 December 2003 22:23:49 GMT
> > T
Begin forwarded message:
From: [EMAIL PROTECTED]
Date: 5 December 2003 22:23:49 GMT
To: [EMAIL PROTECTED]
Subject: ldap search filter problem
Message-Id: <[EMAIL PROTECTED]>
Hi,
I am having trouble doing a existing filter search on my LDAP
directory.
My LDAP directory is openLDAP v3 server
14 matches
Mail list logo