sion OIDs
* Constant.pm: add references to perl-ldap's modules
Bug Fixes
* META.json: update author & bugtracker
* Control/*.pm: typo & grammar fixes
* Control/Relax.pm: slight rephrasing
* FAQ.pod: fix spelling/grammar error
* Changes: fix typo
--
Peter Marschall
pe...@adpm.de
default sslserver
* LDAP.pm: correct parameter to restrict IP family with IO::Socket::IP
* data/regenerate_cert.sh: fix shebang
--
Peter Marschall
pe...@adpm.de
o connect to.
Was able to reproduce it on a working installation of perl-ldap:
$ perl -MNet::LDAP -e 'my $ld = Net::LDAP->new("ldaps://unknown") or die($@);'
Name or service not known at -e line 1, line 755.
Maybe a typo in the URL?
Best
PEter
--
Peter Marschall
pe...@adpm.de
Hi all,
I just released perl-ldap 0.66 to CPAN:
http://search.cpan.org/dist/perl-ldap/
https://metacpan.org/release/perl-ldap
For those of you directly pulling from GitHub, the repository
https://github.com/perl-ldap/perl-ldap/releases
has been updated accordingly.
provide code that is reasonably generic (and does not only fulfill your
specific use case), I may consider including it. (No guarantee)
Best
PEter
--
Peter Marschall
pe...@adpm.de
shall occur. Default is
78.
Setting it to 40 or lower inhibits wrapping.
Best
Peter
--
Peter Marschall <pe...@adpm.de>
them give them a shake and report bugs, improvements, ...
and of course also, what you want to see in future versions of perl-ldap.
Best
PEter
--
Peter Marschall
pe...@adpm.de
Hi,
Am Donnerstag, 28. Dezember 2017, 13:58:10 CET schrieb Zeus Panchenko:
> Peter Marschall <pe...@adpm.de> wrote:
> > Have you tried patching
> > usr/local/lib/perl5/site_perl/Convert/ASN1/_decode.pm?
Digging a bit deeper, I don't think Convert::ASN1 is the issue.
The i
ourself a favour and update to a recent version.
While not directly fulfilling your request, the newer versions have an
extended Net::LDAP::Entry->update() method, that allows using an LDIF file as
a target to write to.
Best regards
PEter
--
Peter Marschall
pe...@adpm.de
ng dds-max-ttl to some big enough value, same code works well
Do I get it right, that only the error case (i.e. setting the ttl to a higher
value than allowed) fails, while the correct case (setting the ttl to a value
within the bounds allowed) works?
In any case, can you provde a minimal test
a lot of the
above for you automatically.
Please read the perlunicode manual page for more detailed information.
Best
PEter
--
Peter Marschall
pe...@adpm.de
/cd7602113d1971d3bfc7681e3c7869a5a1ce70ae
This commit updates schema2ad's POD documentation slightly
You can read it using e.g 'pod2text schema2ad.pl'
Please test and reprot feedback to the mailing list perl-ldap@perl.org
Best
Peter
--
Peter Marschall
pe...@adpm.de
/releases
has been updated accordingly.
Please find a short log of all the changes below.
Thanks to
* Troy Loveday tr...@ti.com
for his bug report / patch.
--
Peter Marschall
pe...@adpm.de
0.65 -- Mon Apr 6 19:43:37 CEST 2015
Enhancements:
* t/74matchedvalues.t: more tests
* {ASN,Extension
--
Peter Marschall
pe...@adpm.de
.
Please find a short log of all the changes below.
Thanks to
* Thomas Guevin
* Jim Toth
* Jitka Plesnikova
for their bug reports / patches.
Enjoy the new release!
Peter
--
Peter Marschall
pe...@adpm.de
0.64 -- Thu Jun 19 17:48:08 CEST 2014
Bug Fixes:
* LDAP.pm: set SSL_cipher_list correctly
* RT
returns:
No attributes to update at ./ldap-update.pl line 23, DATA line 751.
Net::LDAP::Entry's changetype() method clears all previous changes when called
with an argument.
Solution is simple: set the changetype first.
Best
Peter
--
Peter Marschall
pe...@adpm.de
--
Peter Marschall
pe...@adpm.de
0.63 -- Sun Jun 1 12:42:59 CEST 2014
Enhancements:
* Entry.pm: accept options for update() in the LDIF case
* LDIF.pm:
- implement writing controls
- refactor _write_entry
- check for decoding errors in LWP-based URLs
Bug Fixes:
* RT#95001: Do not set
installed
- this solves RT#93122, which IMHO is not really a bug of perl-ldap
* remove trailing whitespace in contrib/*
--
Peter Marschall
pe...@adpm.de
Hi,
On Wednesday, 5. March 2014 10:17:12 Michiel Beijen wrote:
On Tue, Mar 4, 2014 at 7:56 PM, Peter Marschall pe...@adpm.de wrote:
But there's a downside too:
With IO::Socket::IP, the option Timeout to Net::LDAP-new() will be
ignored.
I asked Paul (cc) about this and he replied In what
Hi,
On Wednesday, 5. March 2014 11:32:52 Paul LeoNerd Evans wrote:
On Wed, 05 Mar 2014 11:31:29 +0100 Peter Marschall pe...@adpm.de wrote:
Paul,
from the mail above, I get it that Timeout is working in
IO::Socket::IP. Can you confirm?
Additionally, may I ask you to add Timeout
What's your opinion?
Best
PEter
--
Peter Marschall
pe...@adpm.de
::Soundex for tests
--
Peter Marschall
pe...@adpm.de
/ harmonizations
Enhancements:
* LDAP.pm: use data_ready() in process()
* Util.pm: simplify return on error
* Constant.pm: add constant LDAP_CONTROL_NOOP
* Schema.pm: call isa() as recommented in UNIVERSAL.pm
--
Peter Marschall
pe...@adpm.de
- convert _write_... to object methods
- use indirect file handles for URLs
* LWP/Protocol/ldap.pm: use regex as 1st arg to split()
--
Peter Marschall
pe...@adpm.de
the dump utility fixed so that it adheres to the RFC.
Best
Peter
PS: Please don't top-post
--
Peter Marschall
pe...@adpm.de
utility fixed so that it adheres to the RFC.
I don't have that kind of pull with IBM.
Please at least report it to them as a bug in their tool (even if they might
not react). Maybe they are not even aware of the issue.
Best
Peter
--
Peter Marschall
pe...@adpm.de
then prevail?
Did you at least report the bug to IBM?
Because their non-standards compliant tool is the cause of the whole
discussion.
Best
Peter
--
Peter Marschall
pe...@adpm.de
LDAP_CONTROL_RELAX
LDAP.pod: omit space from filter in synopsis
FAQ.pod: don't talk of 2 lines when there's only one
Extra/eDirectory.pm: fix typo, space police
--
Peter Marschall
pe...@adpm.de
support controls when reading
* Util.pm: add time conversion functions
* Makefile.PL: update recommends, add comments on core modules
* FAQ.pod: update info on required/optional modules
* LDAP.pod,FAQ.pod: harmonize documentation of scope values
--
Peter Marschall
pe...@adpm.de
::LDAP exposes the socket it uses via the socket() method.
Can't this be used to implement the things on the application side?
Best
PEter
--
Peter Marschall
pe...@adpm.de
Hi,
On Friday, 21. December 2012, Girish Jagdish Khetan wrote:
We have used Net::LDAP in Perl (Version: 5.6.1) to process data from LDAPv3
server on Linux environment. We are using callback (Asynchronous
processing) to process the data. At runtime, scripts are failing abruptly
with I/O Error
, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
--
Peter Marschall
pe...@adpm.de
0.50 -- Sat Nov 24 13:03:45 CET 2012
Bug Fixes:
* t/07filtermatch.t: use core module Text::Soundex instead of String::Approx
* Message.pm: fix regression w.r.t
) tests the patch fixed the issue.
Please report whether it does the trick for you too.
Best
Peter
--
Peter Marschall
pe...@adpm.de
*.t - t/4(X+1)*.t
- t/47ipc.t: add TLS tests
- t/60cancel.t: new, tests for Net::LDAP::Extension::Cancel
- t/70sortctrl.t: make it a server test add multi-attribute testcase
--
Peter Marschall
pe...@adpm.de
/perl-ldap
has been updated accordingly.
Enjoy
Peter
--
Peter Marschall
pe...@adpm.de
0.49 -- Sat Oct 5 10:00:30 CEST 2012
Bug Fixes:
* RT#79763 extend ldap_explode_dn() for RFC 4514
* RT#77291 canonicalize host name with ldapi://
* LDAP.pm: don't try to set errors on undefined objects
(but canonical_dn will make them confiorming to both)
Which of the alternatives do you prefer?
Best
PEter
--
Peter Marschall
pe...@adpm.de
in escape_dn_value() which got fixed in
https://github.com/marschap/perl-
ldap/commit/11ea6b176a0e728d10cc3219cbb84fd8018df5a6
Feedback is very welcome
Best regards
Peter
--
Peter Marschall
pe...@adpm.de
Hi Quanah,
On Thursday, 20. September 2012, Quanah Gibson-Mount wrote:
--On Thursday, September 20, 2012 9:34 AM +0200 Peter Marschall
Feedback is very welcome
Thanks Peter! Should I look at this or perl-ldap 0.48? ;)
At this _and_ perl-ldap 0.48 ;-)
These changes are not part
Enhancements
* RT#77458 re-work IPv6 support
* Don't accumulate intermediate messages passed to a callback.
* slightly extend Net::LDAP::Entry-update() and document it
* convenience alias done() for Net::LDAP-unbind()
--
Peter Marschall
pe...@adpm.de
more
--
Peter Marschall
pe...@adpm.de
are a bit special, as the
false value is given implicitly, i.e. by the absence of the attribute.
[might not apply to ADAM Co - I've seen other LDAP servers that allowed
booeanAttribute=FALSE too]
Best
PEter
--
Peter Marschall
pe...@adpm.de
On Sunday, 22. April 2012, Alexei Znamensky wrote:
Hi Peter,
On 22 April 2012 15:10, Peter Marschall pe...@adpm.de wrote:
[...]
In that case, why does Net::LDAP::Filter constructor accepts such filters
as argument? Shouldn't it moan that this is illegal? It builds an object
out
to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.
--
Peter Marschall
pe...@adpm.de
then and with this update and the
new controls extensions, shouldn't this make a nice new 0.44?
Best
Peter
--
Peter Marschall
pe...@adpm.de
Hi,
On Thursday, 8. September 2011, Graham Barr wrote:
On Sep 7, 2011, at 09:26 , Peter Marschall wrote:
* 0.43 has a serious regression: commit 041d540 broke start_tls
completely
and led to warnings being generated at every encrypted connection with
sslverify='none
-Read controls
As bonus:
* Assertion Control implemented
* new control LDAP_CONTROL_PERMISSIVEMODIFY
Thanks
Peter
--
Peter Marschall
pe...@adpm.de
, ...)
--
Peter Marschall
pe...@adpm.de
--
Peter Marschall
pe...@adpm.de
be great if this patch would make it into the next release
of perl-ldap.
Best regards
Peter
--
Peter Marschall
pe...@adpm.de
From bce3842056339ebdbbaaebd46857b13eadc68759 Mon Sep 17 00:00:00 2001
From: Peter Marschall pe...@adpm.de
Date: Sun, 9 Jan 2011 19:47:55 +0100
Subject: [PATCH] extend Net::LDAP
Hi,
the attached patch fixes a few typos in Net::LDAP::Entry.pod
Please consider it for inclusion into the next version of perl-ldap.
Best
Peter
--
Peter Marschall
pe...@adpm.de
From fb4418175d436e598e72e4a2fc7d185a40c8e378 Mon Sep 17 00:00:00 2001
From: Peter Marschall pe...@adpm.de
Date: Fri
'); # 'add' is default changetype
$entry-add('givenName' = $1); # only for addingg
$entry-changetype('modify');
$entry-replace('mail' = $2); # for adding and updating
$entry-add(...);
$entry-update($ldap);
Personally I do not consider this approach a safe one.
Regards
Peter
--
Peter Marschall
pe
on the implementation of the server
and precludes other authentication metods than plain simple
username/password authentication.
Hope it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
to the version line as well)
CU
Peter
--
Peter Marschall
[EMAIL PROTECTED]
also affect the other modules Auth::SASL,
Convert::ASN1, ...?
Peter
--
Peter Marschall
[EMAIL PROTECTED]
) / $l2;
Hope it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
it with
[ qw(192.168.1.18 192.168.1.12) ]
or the equivalent
[ '192.168.1.18', '192.168.1.12' ]
as the 1st arg to Net::LDAP-new()
Hope it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
this helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
dn: cn=group
changetype: modify
replace: member
member: cn=user
Hope it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
first fills it's buffer and then proceeds.
That's the regular wordking mode of Net::LDAP's search() method:
collect all entries, including the result from the server and
return.
You might try the asynchronous mode that uses callbacks.
See CALLBACKS in the man pages for that.
Regards
Peter
--
Peter
]));
}
Thanks for thebug report.
I fixed it in perl-ldap's SVN repository with a similar patch.
CU
Peter
--
Peter Marschall
[EMAIL PROTECTED]
for details
and a little example.
Just to avoid misunderstandings:
When the raw option is not given, Net::LDAP's behaviour is unchanged.
Only when raw = REGEX is given, all attributes not matching the regex are
converted to Perl-Unicode strings
Regrds
Peter
--
Peter Marschall
[EMAIL PROTECTED]
a bug as the doc states to use array refs ;-)
Thanks for spotting it
Peter
--
Peter Marschall
[EMAIL PROTECTED]
resolving the hostname of the server.
Peter
--
Peter Marschall
[EMAIL PROTECTED]
+)=(([^\\]+|\\.)*|[^,]+)
\s*//) {
Would it not have worked to just change that first ? to be a * and
add (?:,\s*)* to the end
while($challenge =~ s/^(?:\s*,)*\s*(\w+)=(([^\\]+|\\.)*|[^,]+)
\s*(?:,\s*)*//) {
Graham.
Yes, that seems to work too.
Committed to SVN
Thanks
Peter
--
Peter
0.34 you may use Net::LDAP's host()
method that even works if you pass an array reference as first
parameter to Net::LDAP's constructor.
In perl-ldap 0.32 you may use the net_ldap_host key in the
Net::LDAP object: $ldap-{net_ldap_host} .
Hope this helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
committed
Graham's patch SVN.
Out of curiosity:
Sven, Josef,
do you - by chance - have figures how it impacts performance?
To the bettor or towards the worse?
Peter
--
Peter Marschall
[EMAIL PROTECTED]
Hi,
On Tuesday, 22. May 2007 13:42, Graham Barr wrote:
On May 20, 2007, at 7:46 AM, Peter Marschall wrote:
I have tried to write a little patch to Net::LDAP that should
implement support for IPv6.
It tries to stay compatible as much as possible.
Only if the
inet6 = 1
option
of my environment or of the patch.
Currently I cannot tell, since this was my first tyoing with IPv6.
The more adventuresomes can try the attached patch.
Have fun, and please report success/problems/fixes ...
Peter
--
Peter Marschall
[EMAIL PROTECTED]
diff -rub lib/Net/LDAP.pm lib/Net/LDAP.pm
-detection get mis-aligned and thus crete
the error above.
A fix has just been committed to SVN.
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
, but that only gives me errors
that say the reference isn't blessed. If I bless it I get an error
saying that it's not a reference.
No need to work with references of objects.
A Perl object is simply a bledded reference.
Peter
--
Peter Marschall
[EMAIL PROTECTED]
conforming to the RFCs ;-)
No, let's get serious:
AD does not adhere to the LDAP standards for publishing schema information.
Although there has work been gone into perl-ldap to make some/most of the
schema fucntions work with AD to, I guess dump() relies on the standard.
Regards
Peter
--
Peter
Hi Grahm,
On Monday, 29. January 2007 22:30, Peter Marschall wrote:
please relase perl-ldap 0.34 (or 0.33.1 ;-).
It is long overdue.
There are lot's of changes sicne 0.33
- LDIF changes
- control fixes / extensions
- documentation updarts / fixes
- new accessors for host / port / scheme
then load Net::LDAP:Schema::ADS instead of
Net::LDAP:Schema and all is well
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
or objectClass attributes - fields that start with X-.
So there was no need to create a non-standard extension on a separate
attribute.
Peter
--
Peter Marschall
[EMAIL PROTECTED]
with the data in the directory
or the directory configuration.
Regars
Peter
--
Peter Marschall
[EMAIL PROTECTED]
Hi,
On Wednesday, 11. October 2006 19:31, Andrej Ricnik-Bay wrote:
On 10/12/06, Peter Marschall [EMAIL PROTECTED] wrote:
Do you mean it fails to find entries that have the uid attribute set,
but miss the cn attribute (or vice versa)?
That is exactly the case. And it doesn't fail
(${$ldapconnection}{LDAP});
This results in this following error.
Can't call method add on an undefined value
at /usr/local/lib/perl5/site_perl/5.8.8/Net/LDAP/Entry.pm line 239.
Any one have any idea what is happening there?
--
Peter Marschall
[EMAIL PROTECTED]
Hi,
Please keep your reply to the list !!!
You deprive others of the help you get if you send personal mail
in response to posts that help you with your requests.
On Monday, 18. September 2006 09:45, Andrej Ricnik-Bay wrote:
On 9/18/06, Peter Marschall [EMAIL PROTECTED] wrote:
It's in line
Hi,
this is outside the scope of this list,
but I would not expect that a perl object survives
between two invocations of a CGI script.
Regards
Peter
On Monday, 18. September 2006 22:35, Andrej Ricnik-Bay wrote:
On 9/19/06, Peter Marschall [EMAIL PROTECTED] wrote:
Hi,
Hi Peter,
Please
schedule in a spearate job and have the results stored in a
config file.
Hope it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
: . $res-errorstring;
}
return;
}
Please note: I copied this from a posting to this(?) ML
years ago. I cannot tell whether it will work or not.
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
been fixed in SVN.
SF is not mentioned any more in perl-ldap.
Thanks for pointing at the error
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
in the Net::LDAP packages for more information.
Peter
--
Peter Marschall
[EMAIL PROTECTED]
' ),
'net_ldap_host' = 'localhost'
}, 'Net::LDAP' );
???
I' look into it.
Thanks for reporting it
Peter
--
Peter Marschall
[EMAIL PROTECTED]
risk (as with all other software ;-)))
I'd be glad to get some feedback (success stories, error reports,
patches, ...)
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
::add_entry_to_dest_ds 118 Updating with code:
'Unexpected EOF' code: 1 Regards,
Bhagt Rajaram
LDAP error code 1 is LDAP_OPERATIONS_ERROR
meaning: Server encountered an internal error
(see Net::LDAP::Constant)
So it looks like a server-side problem.
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
of their numeric values represents and LDPA error
9 = LDAP_PARTIAL_RESULTS
The other one is not a standard LDAP error number that perl-ldap knows about.
Regards
Peter
--
Peter Marschall
[EMAIL PROTECTED]
Hi Kurt,
On Saturday, 12. August 2006 21:43, Kurt D. Zeilenga wrote:
At 12:17 PM 8/12/2006, Peter Marschall wrote:
LDAP error code 1 is LDAP_OPERATIONS_ERROR
meaning: Server encountered an internal error
I note that the standardized meaning is:
operationsError (1)
Indicates
().
What does $result-code() say ?
$ldif_add-write_entry($dest_entry);
$logger-debug_message ( Updating entry: '.$dest_entry-dn().' with
returned message: '.$result-error().', code: .$result-code().'); }
}
What do the destination server logs say ?
Regards
Peter
--
Peter Marschall
!= LDAP_SUCCESS) ||
($mesg-count() != 1)) {
# .. do whatever you want here ..
}
Hop it helps
Peter
--
Peter Marschall
[EMAIL PROTECTED]
an incorrect message
to LDPA server.
What does it say when $ldap-debug(15) is called before the compare() call ?
Peter
--
Peter Marschall
[EMAIL PROTECTED]
in fact is a private
deviation.
Sorry for the rant
Peter
--
Peter Marschall
[EMAIL PROTECTED]
part
Request entered by: GBARR (Graham Barr)
Request entered on: Sat, 25 Mar 2006 23:38:46 GMT
Request completed: Sat, 25 Mar 2006 23:40:22 GMT
Thanks for relasing the new version.
I already tested it with GSSAPI against OpenLDAP: it works like a charm
Thanks
Peter
PS: perl-ldap ?
--
Peter
Hi,
committed Achims patch to SVN
Peter
On Tuesday, 28. February 2006 21:14, Peter Marschall wrote:
I guess it is up to you to comment of the changes to the GSSAPI sasl mech
in Achim's mai.
With your approval I'll gladly commit these patches to the SVN.
Peter
On Friday, 24. February
Hi Graham,
I am getting more and more mails like the one below
Please, please release the next versions of Authen::SASL and perl-ldap !
Thanks in advance
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]
On Thursday, 16. March 2006 15:53, Rainer Kraft wrote:
I'm trying to get my Perl script
having some trouble understanding the requirements for these
changes.
I'm sorry.
find attached my new diff.
Please let me know if that changes are OK to you.
--
Peter Marschall
eMail: [EMAIL PROTECTED]
related to perl-ldap. (But of course this is just a guess)
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]
have to test it.
(When I'm back with access to infrastructure).
Thanks
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]
Hi,
On Tuesday, 21. February 2006 19:55, Achim Grolms wrote:
Is there an easy way to export the actual version of Authen::SASL::Perl
you want me to test?
svn export https://svn.mutatus.co.uk/repos/Authen-SASL/trunk/
Hope it helps
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]
on SASL) all the necessary steps are done inside the
SASL object. So only one call is necessary in the Net::LDAP-bind() method.
Any feedback is welcome.
Regards
Peter
--
Peter Marschall
eMail: [EMAIL PROTECTED]
1 - 100 of 173 matches
Mail list logo