Re: Saving entry in ldif file.

2003-12-10 Thread Chris Ridd
On 9/12/03 4:06 pm, Benoit Plessis <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using Net::LDAP for handling a LDAP connection > in some perl script and i'm quite pleased by is way of working. > but actually i wan't to do something but i don't know how: > could Net::LDAP::LDIF::write_entry() wr

Re: Fwd: ldap search filter problem

2003-12-10 Thread Jim Harle
Hi Sharib, If a search for attr=* using the ldapsearch command fails, then that attribute is not readable unless you bind as a priveledged user. That same thing could account for | working and & failing if one of the attributes is readable and the other is not. You will either need to change pe

Odd perl error in Bind.pm under load

2003-12-10 Thread Brendan E. Quinn
Hi folks, I've written an ldap server load testing tool using Net::LDAP, and I'm getting an odd (and inconsistent) error: "LDAP_SASL_BIND_IN_PROGRESS" is not exported by the Net::LDAP::Constant module at /usr/lib/perl5/site_perl/5.8.0/Net/LDAP/Bind.pm line 8 Can't continue after import errors a

SASL PLAIN mechanism broken

2003-12-10 Thread Chris Ridd
The Authen::SASL::Perl::PLAIN mechanism (perl 5.8.0, Authen-SASL-2.06) seems to be sending the authorization ID and the authentication ID in the wrong order, which causes obvious bind problems. $sasl = Authen::SASL->new(mechanism => 'PLAIN', callback => {

Fwd: Net::LDAP data accessors

2003-12-10 Thread Graham Barr
Begin forwarded message: From: "D.Kreft" <[EMAIL PROTECTED]> Date: 10 December 2003 18:44:25 GMT To: Graham Barr <[EMAIL PROTECTED]> Subject: Net::LDAP data accessors Message-Id: <[EMAIL PROTECTED]> Hey Graham, One tiny suggestion for your next release of Net::LDAP... Could you add some data ac

Re: Net::LDAP data accessors

2003-12-10 Thread Chris Ridd
On 10/12/03 6:55 pm, Graham Barr <[EMAIL PROTECTED]> wrote: > Begin forwarded message: >> From: "D.Kreft" <[EMAIL PROTECTED]> >> Date: 10 December 2003 18:44:25 GMT >> To: Graham Barr <[EMAIL PROTECTED]> >> Subject: Net::LDAP data accessors >> Message-Id: >> <[EMAIL PROTECTED]> >> >> Hey Graham,

Re: Odd perl error in Bind.pm under load

2003-12-10 Thread Graham Barr
On 10 Dec 2003, at 14:49, Brendan E. Quinn wrote: Hi folks, I've written an ldap server load testing tool using Net::LDAP, and I'm getting an odd (and inconsistent) error: "LDAP_SASL_BIND_IN_PROGRESS" is not exported by the Net::LDAP::Constant module at /usr/lib/perl5/site_perl/5.8.0/Net/LDAP/

Re: Net::LDAP data accessors

2003-12-10 Thread D.Kreft
On Wed, 10 Dec 2003, Chris Ridd did scribble: > $ldap->socket->peername returns the peer address and port. $ldap->socket's > documented as well ;-) I just grepped the perldocs for Net::LDAP (v0.2701) and didn't see any mention of 'peername' or 'socket'. Am I missing something, or has documentatio

Re: Net::LDAP data accessors

2003-12-10 Thread Chris Ridd
On 10/12/03 7:58 pm, D.Kreft <[EMAIL PROTECTED]> wrote: > On Wed, 10 Dec 2003, Chris Ridd did scribble: > >> $ldap->socket->peername returns the peer address and port. $ldap->socket's >> documented as well ;-) > > I just grepped the perldocs for Net::LDAP (v0.2701) and didn't see any > mention o

Re: Net::LDAP data accessors

2003-12-10 Thread D.Kreft
On Wed, 10 Dec 2003, Chris Ridd did scribble: > On 10/12/03 7:58 pm, D.Kreft <[EMAIL PROTECTED]> wrote: > > > On Wed, 10 Dec 2003, Chris Ridd did scribble: > > > >> $ldap->socket->peername returns the peer address and port. $ldap->socket's > >> documented as well ;-) > > > > I just grepped the per

Re: Net::LDAP data accessors

2003-12-10 Thread Graham Barr
On 10 Dec 2003, at 20:36, D.Kreft wrote: On Wed, 10 Dec 2003, Chris Ridd did scribble: On 10/12/03 7:58 pm, D.Kreft <[EMAIL PROTECTED]> wrote: On Wed, 10 Dec 2003, Chris Ridd did scribble: $ldap->socket->peername returns the peer address and port. $ldap->socket's documented as well ;-) I just g

Re: Net::LDAP data accessors

2003-12-10 Thread Chris Ridd
On 10/12/03 8:36 pm, D.Kreft <[EMAIL PROTECTED]> wrote: > On Wed, 10 Dec 2003, Chris Ridd did scribble: > >> On 10/12/03 7:58 pm, D.Kreft <[EMAIL PROTECTED]> wrote: >> >>> On Wed, 10 Dec 2003, Chris Ridd did scribble: >>> $ldap->socket->peername returns the peer address and port. $ldap->so

Re: Net::LDAP data accessors

2003-12-10 Thread Graham Barr
On 10 Dec 2003, at 20:25, Chris Ridd wrote: On 10/12/03 7:58 pm, D.Kreft <[EMAIL PROTECTED]> wrote: On Wed, 10 Dec 2003, Chris Ridd did scribble: $ldap->socket->peername returns the peer address and port. $ldap->socket's documented as well ;-) I just grepped the perldocs for Net::LDAP (v0.2701)

Re: Fwd: ldap search filter problem

2003-12-10 Thread sharib . khan
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

Re: ldap search filter problem

2003-12-10 Thread Chris Ridd
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