You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(200) |
Jun
(129) |
Jul
(184) |
Aug
(204) |
Sep
(106) |
Oct
(79) |
Nov
(72) |
Dec
(54) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(83) |
Feb
(123) |
Mar
(84) |
Apr
(184) |
May
(106) |
Jun
(111) |
Jul
(104) |
Aug
(91) |
Sep
(59) |
Oct
(99) |
Nov
(100) |
Dec
(37) |
2002 |
Jan
(148) |
Feb
(88) |
Mar
(85) |
Apr
(151) |
May
(80) |
Jun
(110) |
Jul
(85) |
Aug
(43) |
Sep
(64) |
Oct
(89) |
Nov
(59) |
Dec
(42) |
2003 |
Jan
(129) |
Feb
(104) |
Mar
(162) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Graham B. <gb...@po...> - 2000-05-23 08:59:25
|
On Tue, May 23, 2000 at 12:58:47PM +1200, Jensen, John T wrote: > I downloaded and installed PERL 5.6. Not the most stable of versions. 5.6 has some known problems and Net::LDAP is known to tickle them. I eould suggest using 5.005_03 > The docs describe > Net::LDAP, but I can't find the .pm file. Well there are a few places, but the first place to look when looking for any perl module should be http://search.cpan.org Net::LDAP also has it's own homepage at http://perl-ldap.sourceforge.net/ you can also get perl-ldap (the distribution that contains Net::LDAP) and Convert-ASN1 from my CPAN directory http://www.perl.com/CPAN/authors/id/GBARR/ Graham. |
From: Bouarich, R. <Red...@co...> - 2000-05-23 08:58:37
|
Hello, Is it possible ,in a Perl file, to create a file in a certain directory and load configs (text and binary datas) into this file? If yes, how could i Do? Thanks a lot. Reda. |
From: Jensen, J. T <j.j...@au...> - 2000-05-23 01:01:27
|
I downloaded and installed PERL 5.6. The docs describe Net::LDAP, but I can't find the .pm file. jj John Thayer Jensen System Administrator School of Business and Economics University of Auckland j.j...@au... +64 9 373-7599 ext 7543 +64 9 373-7430 (FAX) |
From: Graham B. <gb...@po...> - 2000-05-22 20:43:58
|
On Mon, May 22, 2000 at 03:13:37PM -0500, Mark Wilcox wrote: > > On Mon, 22 May 2000, Graham Barr wrote: > > > Do you get any output at all ? What does debug(3) show. > > > I get all of the output, it just doesn't complete (e.g. the while loop > continues to hang). > > If I use a callback it doesn't hang. Try this patch Graham. |
From: Graham B. <gb...@po...> - 2000-05-22 20:35:03
|
On Mon, May 22, 2000 at 03:13:37PM -0500, Mark Wilcox wrote: > I'd give you the output but using $ldap->debug(3) throws an error at > Convert::ASN1::Debug.pm line 175. It looks like your for loop is Perl > 5.005+ and 5.004 doesn't like it. Try this patch. Graham. |
From: Graham B. <gb...@po...> - 2000-05-22 20:25:13
|
On Mon, May 22, 2000 at 03:13:37PM -0500, Mark Wilcox wrote: > > On Mon, 22 May 2000, Graham Barr wrote: > > > Do you get any output at all ? What does debug(3) show. > > > I get all of the output, it just doesn't complete (e.g. the while loop > continues to hang). > > If I use a callback it doesn't hang. Hm, sounds sort of familiar. > I'd give you the output but using $ldap->debug(3) throws an error at > Convert::ASN1::Debug.pm line 175. It looks like your for loop is Perl > 5.005+ and 5.004 doesn't like it. Huh, I thought I got all files passing -wc with 5.004 today. I bet I missed the Debug module. Let me look into it. Graham. |
From: Mark W. <mew...@un...> - 2000-05-22 20:15:21
|
On Mon, 22 May 2000, Graham Barr wrote: > Do you get any output at all ? What does debug(3) show. > I get all of the output, it just doesn't complete (e.g. the while loop continues to hang). If I use a callback it doesn't hang. I'd give you the output but using $ldap->debug(3) throws an error at Convert::ASN1::Debug.pm line 175. It looks like your for loop is Perl 5.005+ and 5.004 doesn't like it. Mark > Graham. > > On Mon, May 22, 2000 at 12:09:54PM -0500, Mark Wilcox wrote: > > Hi > > when I do > > while (my $entry = $mesg->shift_entry()) > > { > > $entry->dump; > > } > > > > Net::LDAP hangs. > > > > This is with Convert:ASN1 0.06 and Net::LDAP .18 on Solaris with Perl > > 5.004. > > > > with both Netscape and Exchange > > > > mark > > > > > > > |
From: Graham B. <gb...@po...> - 2000-05-22 18:55:04
|
Do you get any output at all ? What does debug(3) show. Graham. On Mon, May 22, 2000 at 12:09:54PM -0500, Mark Wilcox wrote: > Hi > when I do > while (my $entry = $mesg->shift_entry()) > { > $entry->dump; > } > > Net::LDAP hangs. > > This is with Convert:ASN1 0.06 and Net::LDAP .18 on Solaris with Perl > 5.004. > > with both Netscape and Exchange > > mark > > > |
From: Mark W. <mew...@un...> - 2000-05-22 17:48:38
|
a few questions/comments 1) Can you see these attributes using the standard LDAP command line utilities (e.g. ldapsearch) or from another non-MS LDAP API when you are binded anonymously? 2) do you see these attributes if you are actually authenticated, either as the user or as an administrative user? 3) can you send the output of $ldap->debug(3) (e.g. put this at the top of your script and then rerun it & send us the results). mark On Mon, 22 May 2000, Neil Betty wrote: > Neil Here again, > > For some reason, I can't access the Extension-Attribute-1 of the Exchange > Server or any of these attributes with perl-ldap. I'm wondering if the > author followed the requirements to make it work with the Exchange Server or > he/she just did enough, to make it work with Netscape Servers. Here are the > attributes that are invisible to the perl-ldap.0.17 Net::LDAP module. > > [Exchange Server Attributes] > Hide-From-Address-Book > mailPreferenceOption > Extension-Attribute-1 > Extension-Attribute-10 > Extension-Attribute-11 > Extension-Attribute-12 > Extension-Attribute-13 > Extension-Attribute-14 > Extension-Attribute-15 > Extension-Attribute-2 > Extension-Attribute-3 > Extension-Attribute-4 > Extension-Attribute-5 > Extension-Attribute-6 > Extension-Attribute-7 > Extension-Attribute-8 > Extension-Attribute-9 > Extension-Name > Home-MTA > Telephone-Assistant > Telephone-Home2 > memberOf > > Here is the code that I am using. > > > use strict; > use Net::LDAP; > use Net::LDAP::Constant qw( LDAP_COMPARE_TRUE > LDAP_COMPARE_FALSE > ); > > my $ldap = Net::LDAP->new('10.2.0.200',port=>389) or die "$@"; > > $ldap->bind; #an anonymous bind > > my $mesg = $ldap->search ( # perform a search > base => "o=\"Miningco.com, Inc.\",c=us", > filter => "(&(cn=neil*)(sn=*))", > # attrs =>'Extension-Attribute-1' > ); > $ldap->debug(3); > $mesg->code && die $mesg->error; > > my $entry; > my $ictr; > foreach $entry ($mesg->all_entries) > { > > $entry->dump; > $ictr++ > } > > $ldap->unbind; # take down session > > print $ictr; > > > > |
From: Mark W. <mew...@un...> - 2000-05-22 17:11:29
|
Hi when I do while (my $entry = $mesg->shift_entry()) { $entry->dump; } Net::LDAP hangs. This is with Convert:ASN1 0.06 and Net::LDAP .18 on Solaris with Perl 5.004. with both Netscape and Exchange mark |
From: Neil B. <NB...@ab...> - 2000-05-22 16:38:42
|
Neil Here again, For some reason, I can't access the Extension-Attribute-1 of the Exchange Server or any of these attributes with perl-ldap. I'm wondering if the author followed the requirements to make it work with the Exchange Server or he/she just did enough, to make it work with Netscape Servers. Here are the attributes that are invisible to the perl-ldap.0.17 Net::LDAP module. [Exchange Server Attributes] Hide-From-Address-Book mailPreferenceOption Extension-Attribute-1 Extension-Attribute-10 Extension-Attribute-11 Extension-Attribute-12 Extension-Attribute-13 Extension-Attribute-14 Extension-Attribute-15 Extension-Attribute-2 Extension-Attribute-3 Extension-Attribute-4 Extension-Attribute-5 Extension-Attribute-6 Extension-Attribute-7 Extension-Attribute-8 Extension-Attribute-9 Extension-Name Home-MTA Telephone-Assistant Telephone-Home2 memberOf Here is the code that I am using. use strict; use Net::LDAP; use Net::LDAP::Constant qw( LDAP_COMPARE_TRUE LDAP_COMPARE_FALSE ); my $ldap = Net::LDAP->new('10.2.0.200',port=>389) or die "$@"; $ldap->bind; #an anonymous bind my $mesg = $ldap->search ( # perform a search base => "o=\"Miningco.com, Inc.\",c=us", filter => "(&(cn=neil*)(sn=*))", # attrs =>'Extension-Attribute-1' ); $ldap->debug(3); $mesg->code && die $mesg->error; my $entry; my $ictr; foreach $entry ($mesg->all_entries) { $entry->dump; $ictr++ } $ldap->unbind; # take down session print $ictr; |
From: Graham B. <gb...@po...> - 2000-05-22 13:40:26
|
On Mon, May 22, 2000 at 02:16:50PM +0100, Graham Barr wrote: > I have done some more investigating and it would seem that this is due > to a bug in 5.6.0 when compiled with threads. Indeed it is, see http://bugs.perl.org/perlbug.cgi?req=tidmids&tidmids=20000409.003&range=32323&format=h for a description of the bug. Hopefully this will be fixed in 5.6.1 Graham. |
From: Graham B. <gb...@po...> - 2000-05-22 13:22:02
|
I have done some more investigating and it would seem that this is due to a bug in 5.6.0 when compiled with threads. Graham. On Mon, May 22, 2000 at 01:11:25PM +0100, Graham Barr wrote: > Thanks, > > Yes I know Murray is having problems, but he has been unable to track > down the problem and I cannot reproduce it. > > Graham. > > On Mon, May 22, 2000 at 06:56:39AM -0500, Matthew Wickline wrote: > > thought this might be of interest... > > > Date: Fri, 19 May 2000 19:12:43 -0700 > > From: Murray Nesbitt <mu...@Ac...> > > Subject: Re: perl-ldap available as PPM [Was: Re: PerLDAP problems] > > > > > > > Could perl-ldap-0.17 (and the required ASN1-0.05) be made similarly available? > > > > I've upgraded the AP522 repository with 0.17, and added Convert-ASN1, > > but there were test failures with 0.17 and AP613. I took a quick look > > at it, but can't spend any more time investigating. This is the test > > code that fails (t/02filter.t): > > > > my $data = $asn->encode($filt) or print "# ",$asn->error,"\nnot "; > > > > The returned $data does not match $binary. What I do know is that it > > works fine with AP613 on Linux, and, unfortunately, the test failures > > disappear when running under the debugger. :-/ > > > > If someone else wants to track down the problem, I'd be glad to add the > > new version to AP613 repository when the test suite passes. > > > > Murray > > > |
From: Graham B. <gb...@po...> - 2000-05-22 12:16:37
|
Thanks, Yes I know Murray is having problems, but he has been unable to track down the problem and I cannot reproduce it. Graham. On Mon, May 22, 2000 at 06:56:39AM -0500, Matthew Wickline wrote: > thought this might be of interest... > Date: Fri, 19 May 2000 19:12:43 -0700 > From: Murray Nesbitt <mu...@Ac...> > Subject: Re: perl-ldap available as PPM [Was: Re: PerLDAP problems] > > > > Could perl-ldap-0.17 (and the required ASN1-0.05) be made similarly available? > > I've upgraded the AP522 repository with 0.17, and added Convert-ASN1, > but there were test failures with 0.17 and AP613. I took a quick look > at it, but can't spend any more time investigating. This is the test > code that fails (t/02filter.t): > > my $data = $asn->encode($filt) or print "# ",$asn->error,"\nnot "; > > The returned $data does not match $binary. What I do know is that it > works fine with AP613 on Linux, and, unfortunately, the test failures > disappear when running under the debugger. :-/ > > If someone else wants to track down the problem, I'd be glad to add the > new version to AP613 repository when the test suite passes. > > Murray > |
From: Matthew W. <wic...@ki...> - 2000-05-22 11:58:03
|
thought this might be of interest... -matt |
From: Graham B. <gb...@po...> - 2000-05-22 11:53:17
|
On Mon, May 22, 2000 at 01:41:18PM +0200, Hansen Erik wrote: > hi, > whats the difference between perl-ldap 016 and 0.17 ? Exactly what the ChangeLog states Change 512 on 2000/05/09 by <gb...@po...> (Graham Barr) Net::LDAP - Change to use asn_read (needs patch to Convert::ASN::IO) Change 511 on 2000/05/09 by <gb...@po...> (Graham Barr) Change email/url's to point to sourceforge Change 507 on 2000/05/03 by <gb...@po...> (Graham Barr) Net::LDAP - Check return value of asn_recv for defined not truth as on some systems the return value may be '' Change 506 on 2000/05/03 by <gb...@po...> (Graham Barr) Net::LDAP::Schema (patch from Chris Ridd) - Fix sup to always be an array ref - add ->superclasses() method Change 505 on 2000/05/03 by <gb...@po...> (Graham Barr) Net::LDAP - Fix bug in ->unbind() where $mesg was not being passed to _sendmsg() - Added debug values 4 and 8 to dump with asn_dump() > And another question: > > is the following bug descriped in KNOWN-PROBLEMS - section , in the > release_notes file of perl-ldap-0.16 new to this version? Or is this bug > also known in the perl-ldap 0.14 version? This bug appeared in 0.16 as part of the changeover to using Convert::ASN1 instead of Convert::BER. I belive this bug is now fixed in 0.17 PS: 0.18 will be release soon with the following changes Change 525 on 2000/05/22 by <gb...@po...> (Graham Barr) Bundle::Net::LDAP - Change Convert::ASN to Convert::ASN1 Change 522 on 2000/05/19 by <gb...@po...> (Graham Barr) Net::LDAP::Filter - Return an error when there are unmatched () Change 517 on 2000/05/15 by <gb...@po...> (Graham Barr) Net::LDAP::Search - fix bug in ->as_struct introduced by new code in Net::LDAP::Entry and it will also now run with perl5.004. Graham. |
From: Hansen E. <eh...@de...> - 2000-05-22 11:43:39
|
hi, whats the difference between perl-ldap 016 and 0.17 ? And another question: is the following bug descriped in KNOWN-PROBLEMS - section , in the release_notes file of perl-ldap-0.16 new to this version? Or is this bug also known in the perl-ldap 0.14 version? description of the bug, part of the release_notes-file: ** In a pre-release of 0.16 it has been seen that a search result may ** not contain all entries and $mesg->code will be LDAP_DECODING_ERROR. ** This has been seen when the client is running on NT or Linux and the ** server is an Exchange server. thank you for your help Erik Hansen |
From: Graham B. <gb...@po...> - 2000-05-22 11:17:07
|
This version will work with 5.004 It is also avaliable from http://download.sourceforge.net/perl-ldap/Convert-ASN1-0.06.tar.gz Graham. ----- Forwarded message from PAUSE <up...@p1...> ----- Date: Mon, 22 May 2000 13:08:54 +0200 Subject: CPAN Upload: G/GB/GBARR/Convert-ASN1-0.06.tar.gz From: PAUSE <up...@p1...> To: "Graham Barr" <gb...@po...>, cpa...@pe... The uploaded file Convert-ASN1-0.06.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GB/GBARR/Convert-ASN1-0.06.tar.gz size: 34467 bytes md5: c4e7d0fc174879e2bf8938746a51aaf5 No action is required on your part Request entered by: GBARR (Graham Barr) Request entered on: Mon, 22 May 2000 11:07:39 GMT Request completed: Mon, 22 May 2000 11:08:54 GMT Virtually Yours, Id: paused,v 1.68 1999/10/22 14:39:12 k Exp k ----- End forwarded message ----- |
From: Graham B. <gb...@po...> - 2000-05-20 08:17:02
|
corrupted? nobody else has had any problems and I just downloaded it fine. But you can also get the latest distributions from http://download.sourceforge.net/perl-ldap/ Graham. On Fri, May 19, 2000 at 06:13:27PM -0400, Neil Betty wrote: > Hi guys, > > The CPAN version of these zip file are corrupted you can't use winzip or > gunzip to unzip these files. > > Can someone send me a working copy of these my way please? > > Neil > |
From: Neil B. <NB...@ab...> - 2000-05-19 22:18:45
|
Hi guys, The CPAN version of these zip file are corrupted you can't use winzip or gunzip to unzip these files. Can someone send me a working copy of these my way please? Neil |
From: Graham B. <gb...@po...> - 2000-05-18 17:04:52
|
On Thu, May 18, 2000 at 05:48:17PM +0100, Graham Barr wrote: > Fix coming soon... And here it is. Graham. |
From: Graham B. <gb...@po...> - 2000-05-18 16:53:32
|
On Thu, May 18, 2000 at 09:36:12AM -0700, Paul Heinlein wrote: > On Thu, 18 May 2000, Neil Betty wrote: > > > my $mesg = $ldap->search ( # perform a search > > base => $base, > > #scope => "sub", > > filter => '(&(cn=neil*)(sn=b*)', > > attrs => ['cn','mail','Extension-Attribute-1', > > 'Extension-Attribute-3','department', > > 'Extension-Name'] > > ); > > Don't know how relevant this is, but it seems to me that a final paren is > missing from your search filter. Ah, there was a bug in that release in Net::LDAP::Filter $f = Net::LDAP::Filter->new('(&(cn=neil*)(sn=b*)') or die; print $f->as_string,"\n"; (&(cn=neil*)(sn=b*)) However, the version in 0.17 is worse, it gives (cn=neil*) It should of course flag an error, then ->search() would return with an error of LDAP_PARAM_ERROR Fix coming soon... Graham. |
From: Mark W. <mew...@un...> - 2000-05-18 16:41:35
|
Well this is hard to fix when you haven't really described the problem. Are you not getting any results? Or are you only getting some of the attributes? I have made a copy of your code and searched against a server and it works. I don't remember having any problems with Net::LDAP v.15. We had some bugs like this in .16 but those were related to switching to Convert::ASN1, Convert::BER worked fine AFAIR. If you could do the following it would really help. 1) give a better description of the problem 2) show us some example output and where the problem lies 3) send results of using $ldap->debug(3) (put this after you connect to the server). Also are you binding anonymously in ADSI? (don't ask me on my opinion on the ADSI API ;). We have several people who've used this code against Exchange for a long time, so I'm sure we can figure this out. Mark On Thu, 18 May 2000, Neil Betty wrote: > Hi guys; > > I'm now working in perl and having problems accessing the exchange server. > The project requires me to use ldap as the communication protocol. What I'm > having difficulties in is reading these attributes in perl-ldap(version 15). > I tried to explicitly call the attributes but maybe I'm not doing it right > or something is wrong with your code. > > I'm going to try loading the perl-ldap(version 17) next week an see if there > is any improvement. Obviously you are able to see these attributes when > using ASDI-ldap in vbscript but why not in you code. > > I wondering how would you do this using ldapapi a module for perl? > > Could someone help me a working example of accessing these attributes in > your environment using perl-ldap v15,v17? > > I will take qbarr advice and read up on NET::LDAP::Entry but I believe it > could be NET::LDAP::Mesg could be the problem for this one. I'll will > patiently wait a response. > > Here is the code > > #perform binding to Server > my $ldap = Net::LDAP->new($servername,port=>$portnum) or die "$@"; > $ldap->bind; #an anonymous bind > > my $mesg = $ldap->search ( # perform a search > base => $base, > #scope => "sub", > filter => '(&(cn=neil*)(sn=b*)', > attrs => ['cn','mail','Extension-Attribute-1', > 'Extension-Attribute-3','department', > 'Extension-Name'] > ); > > } > > $mesg->code && die $mesg->error; > > my $entry; > my $ictr; > foreach $entry ($mesg->all_entries) > { > > $entry->dump; > $ictr++; > } > > $ldap->unbind; # take down session > print $ictr; > > Here are the attributes that are hidden: > > Hide-From-Address-Book > mailPreferenceOption > Extension-Attribute-1 > Extension-Attribute-10 > Extension-Attribute-11 > Extension-Attribute-12 > Extension-Attribute-13 > Extension-Attribute-14 > Extension-Attribute-15 > Extension-Attribute-2 > Extension-Attribute-3 > Extension-Attribute-4 > Extension-Attribute-5 > Extension-Attribute-6 > Extension-Attribute-7 > Extension-Attribute-8 > Extension-Attribute-9 > Extension-Name > Home-MTA > Telephone-Assistant > Telephone-Home2 > memberOf > > > Thanks for reading > > Neil > > |
From: Paul H. <hei...@cs...> - 2000-05-18 16:37:41
|
On Thu, 18 May 2000, Neil Betty wrote: > my $mesg = $ldap->search ( # perform a search > base => $base, > #scope => "sub", > filter => '(&(cn=neil*)(sn=b*)', > attrs => ['cn','mail','Extension-Attribute-1', > 'Extension-Attribute-3','department', > 'Extension-Name'] > ); Don't know how relevant this is, but it seems to me that a final paren is missing from your search filter. It could be that the LDAP server doesn't allow anonymous binds to see the hidden attributes, but I don't know that much about Exchange... Paul Heinlein hei...@cs... |
From: Neil B. <NB...@ab...> - 2000-05-18 16:22:30
|
Hi guys; I'm now working in perl and having problems accessing the exchange server. The project requires me to use ldap as the communication protocol. What I'm having difficulties in is reading these attributes in perl-ldap(version 15). I tried to explicitly call the attributes but maybe I'm not doing it right or something is wrong with your code. I'm going to try loading the perl-ldap(version 17) next week an see if there is any improvement. Obviously you are able to see these attributes when using ASDI-ldap in vbscript but why not in you code. I wondering how would you do this using ldapapi a module for perl? Could someone help me a working example of accessing these attributes in your environment using perl-ldap v15,v17? I will take qbarr advice and read up on NET::LDAP::Entry but I believe it could be NET::LDAP::Mesg could be the problem for this one. I'll will patiently wait a response. Here is the code #perform binding to Server my $ldap = Net::LDAP->new($servername,port=>$portnum) or die "$@"; $ldap->bind; #an anonymous bind my $mesg = $ldap->search ( # perform a search base => $base, #scope => "sub", filter => '(&(cn=neil*)(sn=b*)', attrs => ['cn','mail','Extension-Attribute-1', 'Extension-Attribute-3','department', 'Extension-Name'] ); } $mesg->code && die $mesg->error; my $entry; my $ictr; foreach $entry ($mesg->all_entries) { $entry->dump; $ictr++; } $ldap->unbind; # take down session print $ictr; Here are the attributes that are hidden: Hide-From-Address-Book mailPreferenceOption Extension-Attribute-1 Extension-Attribute-10 Extension-Attribute-11 Extension-Attribute-12 Extension-Attribute-13 Extension-Attribute-14 Extension-Attribute-15 Extension-Attribute-2 Extension-Attribute-3 Extension-Attribute-4 Extension-Attribute-5 Extension-Attribute-6 Extension-Attribute-7 Extension-Attribute-8 Extension-Attribute-9 Extension-Name Home-MTA Telephone-Assistant Telephone-Home2 memberOf Thanks for reading Neil |