accordingly.
Please find a short log of all the changes below.
Have fun
Peter
0.68 -- Sun Jan 3 17:58:18 CET 2021
Enhancements
* Control/NoOp.pm: new
* Control/Subentries.pm: new
* Constant.pm: add tags to allow exporting groups of constants
* Constant.pm: add Active Directory Control & Exten
erry Christmas
Peter
0.67 -- Sat Dec 26 14:50:55 CEST 2020
Enhancements
* Makefile.PL: update author & bugtracker
* LDIF.pm: support controls when reading
* Control/TreeDelete.pm: new
* Entry.pm: new option 'nooptions' for get_value()
* various typo fixes
Bug Fixes
* LDAP.pm: do not p
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
[email protected]
.
Please find a short log of all the changes below.
Thanks to all those who sent bug reports & patches.
Have fun
Peter
0.66 -- Tue Apr 16 11:23:55 CEST 2019
Enhancements
* Entry.pm: accept more options in ldif()
* inc/: refresh install tools
* contrib/ldifsort: new option -h
* documentation extens
t to the method?
> >
> >> The LDAP modifydn operation is already defined to move all the entry's
> >> children.
> >
> > I believe, it'd be great to have something like that in Net::LDAP too …
>
> Well that’s up to Peter, but I would say that no
is
78.
Setting it to 40 or lower inhibits wrapping.
Best
Peter
--
Peter Marschall
This method supports everything you need with an appropriately opened LDIF
object
* The changes in https://github.com/marschap/perl-ldap/tree/next
I expect this to become the next perl-ldap release.
Please test the changes in Net::LDAP::Entry.
Improvement ideas welcome.
Especially if they hinder the user from making stupid mistakes like calling
LDIF(version=>1)
Peter
--
Peter Marschall
e check 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
[email protected]
Hi,
Am Donnerstag, 28. Dezember 2017, 13:58:10 CET schrieb Zeus Panchenko:
> Peter Marschall 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 issue is indeed in
do yourself 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
[email protected]
l
> after setting 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 p
code('UTF-8' ,$_) for @ARGV;
should be sufficient.
You may also have a look at the 'utf8::all' package that does a lot of the
above for you automatically.
Please read the perlunicode manual page for more detailed information.
Best
PEter
--
Peter Marschall
[email protected]
Hi,
On Wednesday, 5. August 2015 10:50:49 Gessy wrote:
> Hello Peter
> I was trying to use the schema2ad.pl but not understand a thing. The perl
> script expects the ldap scheme is in an LDIF format? I tried it with a
> scheme that use the openldap and he reports me the following me
$msg->code,
"Message: " . $msg->error_name,
" :" . $msg->error_text,
"MessageID: " . $msg->mesg_id,
"DN: " . $msg->dn,
) . "\n";
return 0;
}
--
Peter Karman . http://peknet.com/ . [email protected]
/releases
has been updated accordingly.
Please find a short log of all the changes below.
Thanks to
* Troy Loveday
for his bug report / patch.
--
Peter Marschall
[email protected]
0.65 -- Mon Apr 6 19:43:37 CEST 2015
Enhancements:
* t/74matchedvalues.t: more tests
* {ASN,Extension}.pm: update
ndex-*" : 'member' ]
Thanks for reporting the issue.
The fix will be in the next release of perl-ldap.
Best
Peter
--
Peter Marschall
[email protected]
.
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
[email protected]
0.64 -- Thu Jun 19 17:48:08 CEST 2014
Bug Fixes:
* LDAP.pm: set SSL_cipher_list correctly
* RT
$arg->{capath} ? $arg->{capath} : '',
> SSL_key_file=> $clientcert ? $clientkey : undef,
>
>
> Please address in 0.64 if possible.
Patched in private repo.
Will be included in 0.64.
Thanks
--
Peter Marschall
[email protected]
gt; [...]
>
> When I include the "$cur_entry->changetype(modify);" line, the script
> returns:
>
> No attributes to update at ./ldap-update.pl line 23, 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
[email protected]
anges below.
The most noteworthy ones are IMHO:
* use default cyphers of the underlying SSL library
instead of setting SSL_ciphers to ALL by default
* write controls to LDIF files (more complete RFC support)
Thanks to
* Petr Písař
* Hanno Hecker
for their contributions
Best
Peter
--
Peter Mars
t::INET6
when the former one is installed.
If IO::Socket::IP does not suffer the problems that recent versions
of IO::Socket::INET6 seem to have in Windows, then everything should
work as before including IPv6 support.
Best
PEter
--
Peter Marschall
[email protected]
Hi,
perl-ldap 0.62 is out!
Get it from CPAN or GitHub:
http://search.cpan.org/dist/perl-ldap/
https://metacpan.org/release/perl-ldap
https://github.com/perl-ldap/perl-ldap
The changes are relatively minor, mostly to keep CPAN testers happy ;-)
Enjoy
Peter
0.62 -- Sun
til.pm: fix corner cases in time conversion functions
Best
Peter
--
Peter Marschall
[email protected]
repository
https://github.com/perl-ldap/perl-ldap
has been updated too.
Have fun
Peter
0.60 -- Sat Mar 8 14:00:02 CET 2014
Enhancements:
* IO::Socket::IP support
- if installed in version 0.20 or higher, prefer it over IO::Socket::INET*
- use IO::Socket::INET* as fallback if it isn
Hi,
On Wednesday, 5. March 2014 11:32:52 Paul LeoNerd Evans wrote:
> On Wed, 05 Mar 2014 11:31:29 +0100 Peter Marschall wrote:
> > Paul,
> > from the mail above, I get it that Timeout is working in
> > IO::Socket::IP. Can you confirm?
> > Additionally, may I as
Hi,
On Wednesday, 5. March 2014 10:17:12 Michiel Beijen wrote:
> On Tue, Mar 4, 2014 at 7:56 PM, Peter Marschall 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) ab
IO::Socket::INET6
What's your opinion?
Best
PEter
--
Peter Marschall
[email protected]
accordingly.
Have fun
Peter
0.59 -- Tue Mar 4 16:21:15 CET 2014
Bug Fixes:
* Handle SASL security layers correctly on rebind
Thanks Ben Morrow
* Control/Paged.pm: fix typo in POD sample code
Enhancements:
* t/60cancel.t: add explanation about potential cause of failure
* LDAP.pm: accessor method sasl
has been updated accordingly.
Enjoy
Peter
0.58 -- Mon Dec 23 17:35:53 CET 2013
Bug Fixes:
* RT#91210: Paged.pm: fix example code
* RT#90459: LDAP.pm: make LDAPS work after LDAP+start_tls
* RT#91177: AD.pm: fix change_ADpassword()
* RT#88792: Constant.pm: add LDAP_CONTROL_SORTRESPONSE
Enhancements
pulling from GitHub, the repository
https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Have fun
Peter
0.57 -- Sun Jul 21 18:35:12 CEST 2013
COMPATIBILITY WARNING:
The bug fix "LDAP.pm: new parameter bind(sasl_host => SASLHOST)"
is an incompatible change that m
https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Have fun with it
Peter
0.56 -- Sat Jun 8 13:14:47 CEST 2013
Bug Fixes:
* RT#85941: LDAP.pm: new method data_ready()
* RT#84886: Control/Relax.pm: fix typo in documentation
Enhancements:
* FAQ.pod: add more directory servers
* t
ively impact your patch? Which one should 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
[email protected]
ir tool (even if they
> >might not react). Maybe they are not even aware of the issue.
>
> If I put the bug report in, will you incorporate the patch? :)
No. [I do not want perl-ldap to look like the easier target ;-]]
My hope is IBM will fix their bug and adhere to well-established standards.
If they do, you can throw away the preprocessor step.
Best
PEter
--
Peter Marschall
[email protected]
p -vi ^control: > RFC-CONFORMING-FILE
[the first command is required to unwrap the wrapped lines]
Alternatively you may add a
changetype: add line
after each unwrapped dn: line.
> >Instead, please get the dump utility fixed so that it adheres to the RFC.
>
> I don't
Instead, please get the dump utility fixed so that it adheres to the RFC.
Best
Peter
PS: Please don't top-post
--
Peter Marschall
[email protected]
has been updated accordingly.
Enjoy
Peter
Bug Fixes:
RT#84410: PersistentSearch.pm: use $message->pop_entry() in example
RT#84774: Constant.pm: unbreak Novell eDirectory constants
Enhancements:
Control/ManageDsaIT.pm: update documentation & simplify a bit
Control/Relax.pm: new
Constant.
ities.
Net::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
[email protected]
r use with Novell eDirectory
The detailed changes are listed at the end of this email.
Of course, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
0.54 -- Fri Mar 29 12:07:40 CET 2013
Bug Fixes:
* RT#73202: LDIF.pm: Base64-encode values ending
Hi Quanah,
On Monday, 28. January 2013, Quanah Gibson-Mount wrote:
> Just to note, the "Download" link on the top right hand side of the page
> has been pointing to the wrong release for a while. It still points to
> 0.49.
Fixed
Thanks for the heads-up
Peter
--
Peter Marschall
[email protected]
://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Have fun
Peter
0.53 -- Sat Jan 26 18:23:35 CET 2013
Bug Fixes:
* various clarifications & fixes in documentation
* t/7{1pre,2post}read.t: don't use deprecated methods
Enhancements:
* Filter.pm: new method negate()
* Uti
use IPv6".
This is reflected in the documentation.
I see two options for amavis to fix it:
* raise the required perl-ldap version to 0.46 and remvoe "inet6 => 1"
from the constructor fo theNet::LDAP object
* make the addition of inet6 => 1 dependent on perl-ldap's version
Best
PEter
--
Peter Marschall
[email protected]
ficates, CRLs, JPEG photos, ... .
This also applies to GUID values from AD.
For most of those attribute typess there are Perl modules available that do a
really good job.
Did you check with CPAN?
http://search.cpan.org/search?query=GUID
If none of them suits your needs, you can always take the code you found on
the web.
Best
Peter
--
Peter Marschall
[email protected]
is the correct
> interpretation?
A short script gives the answer: it is zero-based.
A fix of the Net::LDAP::Search man page will be in the next release.
Best
Peter
--
Peter Marschall
[email protected]
GitHub repository has been updated too.
Enjoy
Peter
--
Peter Marschall
[email protected]
0.52 -- Tue Jan 1 13:54:22 CET 2013
Bug Fixes:
* fix PreRead & PostRead controls
* AD.pm: fix typo in documentation
Enhancements:
* add tests for PreRead & PostRead controls
* FAQ.pm: exa
t reproduce the issue with Strawberry Perl
5.16.2.1 (with Socket 2.006) when connecting to a non-AD LDAP server.
So:
* Can you try reproding the issue using another LDAP server (preferably
another type. i.e. no AD)?
* Can you try reproducing the issue using the above version of Strawberry Perl
(http://strawberryperl.com/)?
* Can you double check your implementation?
I assume you did it for yourself, and did not use pre-compiled images from
somewhere on the net?
Please report back.
Thanks
PEter
--
Peter Marschall
[email protected]
e with the
> help of NYTProf but without success. Any help or pointers in this regard
> is highly appreciated.
You may use perl-ldap's "debug" flag.
Best
PEter
filters.
Of course, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
--
Peter Marschall
[email protected]
0.51 -- Sat Dec 1 14:37:35 CET 2012
Bug Fixes:
* RT#81380: in Filter.pm unescape hexpairs and ( ) \ * only
* tests: compare files in "
ourse, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
--
Peter Marschall
[email protected]
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
report any bugs you find, so that 0.50 can be perfect ;-)
Enjoy
Peter
0.50_01 -- Sat Nov 17 18:05:15 CET 2012
Bug Fixes:
* RT#80482 fix display of =item inet6 in LDAP.pod
* RT#66753: new key & cert for SSL server tests
* RT#79763 Net::LDAP::Util's $VERSION increased
* t/06constant.t:
75166b9db97a8c97e20281490e491a
In my (short & preliminary) tests the patch fixed the issue.
Please report whether it does the trick for you too.
Best
Peter
--
Peter Marschall
[email protected]
based on a specific user detail.
Assuming you are using NLC::User::AD, then no.
However, it looks to me like you could override setup_for_write() in
your User subclass and specify whatever $cn you wanted, which would then
be prepended to the $base_dn in action_for_create().
--
Peter Karman
:LDAP prefix in the name?
Isn't there already a Net::LDAP::Extra::AD on CPAN?
Have you looked at Net::LDAP::Class? There's AD-specific User and Group
classes there too.
--
Peter Karman . http://peknet.com/ . [email protected]
/perl-ldap
has been updated accordingly.
Enjoy
Peter
--
Peter Marschall
[email protected]
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 ob
tive
Con's:
- might accept DN's that are not conforming to any of the RFCs
(but canonical_dn will make them confiorming to both)
Which of the alternatives do you prefer?
Best
PEter
--
Peter Marschall
[email protected]
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
has been updated accordingly.
Enjoy
Peter
0.48 -- Thu Sep 20 10:55:20 CEST 2012
Bug Fixes:
* Util.pm: fix bug in escape_dn_value()
* t/55ssl.t: fix typos in output text
* LDIF.pm: with encode => 'canonical', do mbcescape DNs
* the usual typo fixes in docs
Enhancements:
* ASN.pm:
updated yet)
Another issue was found 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
[email protected]
Hi all,
perl-ldap 0.47 has been released to CPAN. http://search.cpan.org/dist/perl-
ldap/
The changes included are listed at the end of this email.
Of course, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
0.47 -- Sun Sep 16 12:00:30 CEST
tandardized,
but widely used, SSL-encrypted connection to port 636
My recommendation:
1) Net::LDAP + start_tls
2) Net::LDAPS [of 1) is not supproted by the server]
3) Net::LDAP without TLS only for anonymous access
Best
Peter
--
Peter Marschall
[email protected]
, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Sorry for the fuss
Peter
0.46 -- Wed Sep 5 18:09:00 CEST 2012
Bug Fixes
* LDAP.pm: unbreak - make done a real sub
* Message.pm: fix typo, i.e. add forgotten ';'
Enhancements:
* FAQ.pod: up
Hi all,
perl-ldap 0.45 has been released to CPAN http://search.cpan.org/dist/perl-
ldap/
The changes included are listed at the end of this email.
Of course, the GitHub repository https://github.com/perl-ldap/perl-ldap
has been updated accordingly.
Enjoy
Peter
0.45 -- Wed Sep 5 11:20:46 CEST
it may
be set, and then use this value.
As a side note:
If I remember the RFC correctly, Boolen attributes 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
[email protected]
On Sunday, 22. April 2012, Alexei Znamensky wrote:
> Hi Peter,
>
> On 22 April 2012 15:10, Peter Marschall wrote:
> > [...]
>
> In that case, why does Net::LDAP::Filter constructor accepts such filters
> as argument? Shouldn't it moan that this is illegal? It b
al filters.
> [...]
> Am I missing something here?
The filters using DN would fail on a standard LDAP server too.
Net::LDAP::FilterMatch behaves correctly.
Best
PEter
--
Peter Marschall
[email protected]
ormer one is already included in the next branch of the perl-ldap repo.
For ther latter I'm still hoping that Graham will do the same, and after that
realease a new version.
It would be cool you reported feedback on the mailing list
Peter
On Wednesday, 2. November 2011, Hart, Matthew
oc updates then and with this update and the
new controls & extensions, shouldn't this make a nice new 0.44?
Best
Peter
--
Peter Marschall
[email protected]
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 connectio
x that or is that another problem?
A) Please keep your mail on the list!
B) Please do not top-post!
C) To answer your question:
These fixes are completely unrelated to the problem you have.
Hint: compare the dates of your issues and when the regresion
was introduced.
Peter
n
* extended documentation for Pre-Read & Post-Read controls
As bonus:
* Assertion Control implemented
* new control LDAP_CONTROL_PERMISSIVEMODIFY
Thanks
Peter
--
Peter Marschall
[email protected]
s:
* the attributetype 'name' has matching rules for EQUALITY & SUBSTR only
* 'cn' is derived from 'name'
No luck in this case, sorry!
Best
Peter
PS: It is possible that some LDAP server implementations implement extensions
on the matching rules that are not
uot;available" & "explicitly" ;-)
Best regards
Peter
--
Peter Marschall
[email protected]
ntries) {
for my $attr ($entry->attributes) {
if ($attr eq 'description') {
printf("%s -> %s\n", $attr,
join(", ", $entry->get_value($attr))
);
}
}
}
--
Peter Karman . http://peknet.com/ . [email protected]
o be
> escaped
>
> I think exporting _escape as escape_ldap_filter is the best approach and
> users should use that as they build their filters
What about using the documented functions in Net::LDAP::Util ?
* escape_filter_value()
* unescape_filter_value()
And for DNs the equivalents
*
=50924
>
> Sam
>
This is how I set the password in AD:
http://search.cpan.org/~karman/Net-LDAP-Class-0.26/lib/Net/LDAP/Class/User/AD.pm#password([plain_password])
read the source for the password() method.
IIRC, SSL or TLS was not required, but binding in the initial LDAP
connection with a u
Hi,
On Tuesday, 29. March 2011, Marc Lehmann wrote:
> al rule, in perl, when you use a global variable, you should save
> and restore it (map, for
This is already fixed in perl-ldap's repository at
git://github.com/gbarr/perl-ldap.git
Thanks
Peter
--
Peter Marschall
[email protected]
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
[email protected]
From fb4418175d436e598e72e4a2fc7d185a40c8e378 Mon Sep 17 00:00:00 2001
From: Peter Marschall
Date: Fri, 2 Jul 2010
eter too.
It would be great if this patch would make it into the next release
of perl-ldap.
Best regards
Peter
--
Peter Marschall
[email protected]
From bce3842056339ebdbbaaebd46857b13eadc68759 Mon Sep 17 00:00:00 2001
From: Peter Marschall
Date: Sun, 9 Jan 2011 19:47:55 +0100
Subject: [PATCH] exte
ot;?
>
use Search::Tools::Transliterate;
my $ascifier = Search::Tools::Transliterate->new( ebit => 0 );
my $gecos = $ascifier->convert($gecos);
--
Peter Karman . http://peknet.com/ . [email protected]
on and method calls.
The typical Perl idiom looks like:
my $value = $thing->dosomething(@args)
or die "dosomthing failed: " . $thing->error;
That assumes that dosomething returns false on error and has an error()
method but you get the idea.
--
Peter Karman . http://peknet.com/ . [email protected]
lar? I will happily post my current code if
> requested. Thanks again!
If you want specific feedback, posting your code is a good step.
You might want to look at Net::LDAP::Class for other ways to achieve
your task. Even if you don't use the module, you can see example code
for searching and
will not mind using an old version of Net::LDAP
>>> IMO.
>
> I disagree with this statement. ;) RHEL4, for example, ships with perl
> 5.8.5, and remains one of the most widely deployed Linux distributions
> in the corporate environment.
I didn't hear the OP referring to 5.8
he list
archives, in Net::LDAP::Class::User::AD on CPAN. Look at the source for the
password() method and the private methods for encoding/decoding the string.
--
Peter Karman . http://peknet.com/ . [email protected]
for details on userAccountControl.
# basically:
# 512 - normal active account requiring password
# 514 - normal disabled account requiring password
# 544 - system active account - no password required
# 546 - system disabled account - no password required (default)
--
Peter Karman . http://pek
Peter Karman wrote on 12/10/09 5:48 PM:
Prashanth Sundaram wrote on 12/10/09 4:59 PM:
Folks,
I am a n00b to perl scripting and need help to start building my own.
I am
currently working on a project where the LDAP(389-ds) and Active
Directory
are always in sync. I have a very minimal set
.
Net::LDAP::Class should make most if not all of those requirements pretty easy
to implement. It was written to ease keeping a rdbms, LDAP and AD all in sync.
--
Peter Karman . http://peknet.com/ . [email protected]
ally set
to 'add' ;-).
> my $entry = Net::LDAP::Entry->new('DN'); # 'add' is default changetype
> $entry->add('givenName' => $1); # only for addingg
> $entry->changetype('modify');
> $entry->replace('mail' =&
nt-in-_-cis-exact-_.patch
the issue at hand
* 0004-FilterMatch.pm-correct-of-args-in-function-declar.patch
fix # of args in function declarations/definitions
Please add them to your repo.
Thanks in advance
Peter
--
Peter Marschall
[email protected]
From 64194a7d46cc5dd665678346c42e80a2918eae3
why. The
> only reason why
The reason for the failure is easy to see, once you decode the base64-encoded
DN in your example:
Кацубо Владимир,cn=persons,cn=centurion
This is simply no legal DN (Hint: it lacks the attribute name in the RDN).
Regards
Peter
--
Peter Marschall
[email protected]
UTF8;
my $ascifier = Search::Tools::Transliterate->new( ebit => 0 );
my $ascii= $ascifier->convert( to_utf8( $my_email ) );
--
Peter Karman . [email protected] . http://peknet.com/
we have 100s of OrgUnits). I actually have a
Net::LDAP::Class-derived class for OrgUnit and each User class uses a
OrgUnit class as its primary group.
I think the $work approach succeeds because of our particular security
requirements. I hope that Net::LDAP::Class::*::AD can also work for
folks imple
quot;)
So: what's the big difference between just assigning a value and calling s/// ?
Is there anything else that shouldn't be done on a tied hash?
Regards,
Peter
Peter Daum wrote on 10/03/2008 07:35 AM:
> Peter Daum wrote:
>> I recently upgraded a system (as far as perl is concerned from 5.8.8
>> to 5.10.0). Afterwards I ran into a mysterious problem. I could
>> eventually
>> find a workaround, but still don't rea
Peter Daum wrote:
I recently upgraded a system (as far as perl is concerned from 5.8.8 to
5.10.0). Afterwards I ran into a mysterious problem. I could eventually
> find a workaround, but still don't really understand, what is going on.
After the upgrade, a perl program wouldn'
Hi,
On Friday, 19. September 2008, Graham Barr wrote:
> I will apply thins change, then cut a new release this weekend.
Please find attached another fix which IMHO should go into the next release as
well.
Dunno if it isimportant: patch is against origin/next.
Regards
Peter
--
Pe
y_list_of_rollnos) {
my $path = dir( $base, $rollno );
$path->mkpath(1);
chown $path, $rollno or die "can't chown $path $rollno: $!";
# ^^ probably needs to run as root to work
}
and next time, ask on the right list for this kind of thing. This is not an
LDAP question.
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
re you get the accurate epoch value for
a date in the future.
E.g.:
my $win_time = ( $datetime_in_future->epoch * 1000 ) + 11644524000;
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
On 08/13/2008 10:20 AM, Barrett, John wrote:
> You might want to check your variable names for consistency - $first vs.
> $firstname
>
>
> #!/usr/bin/perl
>
use strict; # get in the habit.
> use Net::LDAP;
> use Unicode::Map8;
>
--
Peter Karman .
nally.
my $user = MyUser->new( username => $uid, ldap => $ldap, password => $secret );
$user->create;
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
gt; "&(sAMAccountName=*)" );
foreach my $user (@users) {
foreach my $attr (@{ $user->attributes }) {
printf( "%s : %s\n", $attr, $user->$attr || '' );
}
}
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
my $job where I need to manage both Active Directory and
OpenLDAP servers,
and synchronize both with a standard RDBMS.
Comments, criticisms (nicely worded), bug reports, all welcome.
cheers,
pek
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
1 - 100 of 330 matches
Mail list logo