Hello,
I experienced a strange problem with following function and Net::LDAP
--- cut here ---
sub CreateLDAPentry {
my ($uid,$name,$vorname,$st) = @_;
my $salt="/%";
my $pwd=crypt($word, $salt);
my $ldap = Net::LDAP->new ("localhost",async => 0) or die "$@";
my $mesg = $ldap->bind ( "$LDAP_ADM
On 8/2/07 8:53, "Christian Felsing" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I experienced a strange problem with following function and Net::LDAP
>
> --- cut here ---
>
> sub CreateLDAPentry {
> my ($uid,$name,$vorname,$st) = @_;
> my $salt="/%";
> my $pwd=crypt($word, $salt);
>
> my $ldap = N
I think I have answered 1 and 3 on my own by reading newsgroups.
But I would still like an easy way to convert the pwdLastSet attribute
and know how to set the password in active directory.
My program now looks like this.
#!/usr/bin/perl -w
use strict;
my $perllib;
BEGIN { $
On 2/8/07, Chris Ridd wrote:
You should definitely set version => 3 when you create the Net::LDAP object,
as that will allow you to use UTF-8 later on. The default is to use LDAPv2,
and you're at the mercy of your server vendor as to what character set they
decided to implement instead of the st
On 8/2/07 7:46, "Svend Sorensen" <[EMAIL PROTECTED]> wrote:
> On 2/8/07, Chris Ridd wrote:
>>
>> You should definitely set version => 3 when you create the Net::LDAP object,
>> as that will allow you to use UTF-8 later on. The default is to use LDAPv2,
>> and you're at the mercy of your server ve
Any hints ?
Could be a data related issue?
Since UTF seems to be the default the question would be
whether what you enter is UTF or rather ASCII with a German
character set ...
best regards
Christian
Cheers,
Andrej
When I try to search using binary filter which contains \ac directly or this
symbol, Filter->parse exclud this from
filter at all.
It's a shit, I can't use such filter
(&(objectClass=inetOrgPerson)(networkAddress=1#\0a\00\01\ac)) it will be
converted
through this function, exactly Filter->_escap
$secureLDAP->root_dse->supported_extension(1.3.6.1.4.1.4203.1.11.1);
$secureLDAP->root_dse->supported_extension("LDAP_EXTENSION_PASSWORD_MODI
FY");
my $dse = $secureLDAP->root_dse;
my @extn = $dse->get_value('supportedExtension');
print "\n[" . join("::",@extn) .
On Feb 8, 2007, at 7:48 AM, Victor Zhestkov wrote:
When I try to search using binary filter which contains \ac
directly or this symbol, Filter->parse exclud this from
filter at all.
It's a shit, I can't use such filter (&(objectClass=inetOrgPerson)
(networkAddress=1#\0a\00\01\ac)) it will be c
On Feb 7, 2007, at 1:09 PM, Jeff Kalbfleisch wrote:
$secureLDAP->root_dse->supported_extension
(1.3.6.1.4.1.4203.1.11.1);
perl -le 'print(1.3.6.1.4.1.4203.1.11.1)'
Wide character in print at -e line 1.
ၫ
$secureLDAP->root_dse->supported_extension
("LDAP_EXTENSION_PASSWORD_MODIFY
On Feb 7, 2007, at 12:09 PM, Jeff Kalbfleisch wrote:
use strict;
my $perllib;
BEGIN { $ENV{PERL_LIB} =~ m/(.*)/; $perllib = $1 } # untaint PERL_LIB
use lib $perllib;
Ever thought of just using the PERL5LIB environment variable, or if
you must use your own
use lib ($ENV{PERL_LIB} =~ m/
11 matches
Mail list logo