[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-ldap-dev
Subject: RE: Help - Password Modify Extended Operation
From: "Vanole, Mike" <mike.vanole () cingular ! com>
Date: 2007-04-23 17:56:24
Message-ID: C9C075DB3961464180CE3DEF766B4A2C028844F8 () ad01msxmb007 ! US ! Cingular ! Net
[Download RAW message or body]
Hi,
I'm having trouble getting the Password Modify Extended Operation
working. I have successfully installed it, and I can view it from the
Console under cn=config features, but when I try to view if it's
"supported" using perl (code below) I can't get it to show up. This is
probably an LDAP config issue, but I thought I'd start here with the
questions. I'm new to LDAP so I'm not even sure what information to
provide.
Thank you,
Mike
Using Sun Java System Directory Server
Net::LDAP v0.33
Perl 5.8.5
Added as Directory Manager with ldapmodify command (success)
dn: oid=1.3.6.1.4.1.4203.1.11.1,cn=features,cn=config
objectClass: top
objectClass: directoryServerFeature
oid: 1.3.6.1.4.1.4203.1.11.1
cn: Password Modify Extended Operation
aci: (targetattr != "aci")(version 3.0;
acl "Password Modify Extended Operation
"; allow( read, search, compare, proxy ) (roledn = "ldap:///cn=Password
Managers,dc=edc,dc=cingular,dc=net");)
Perl code:
my $admin = 'cn=Directory Manager';
my $password = 'password';
my $version = 3;
my $mesg;
my $ldap = new Net::LDAP( 'server2.edc.cingular.net', port => 389,
timeout => 10) or die "$@";
$mesg = $ldap->bind ( dn => $admin, password => $password, version =>
$version);
die($mesg->error) if $mesg->code;
my $rootdse = $ldap->root_dse();
@extn = $rootdse->get_value('supportedExtension');
print "\n[" . join("\n",@extn) . "]";
exit;
[2.16.840.1.113730.3.5.7
2.16.840.1.113730.3.5.8
2.16.840.1.113730.3.5.3
2.16.840.1.113730.3.5.5
2.16.840.1.113730.3.5.6
2.16.840.1.113730.3.5.4
1.3.6.1.4.1.42.2.27.9.6.1
1.3.6.1.4.1.42.2.27.9.6.2
1.3.6.1.4.1.42.2.27.9.6.3
1.3.6.1.4.1.42.2.27.9.6.4
1.3.6.1.4.1.42.2.27.9.6.5
1.3.6.1.4.1.42.2.27.9.6.6
1.3.6.1.4.1.42.2.27.9.6.7
1.3.6.1.4.1.42.2.27.9.6.8
1.3.6.1.4.1.42.2.27.9.6.9
1.3.6.1.4.1.42.2.27.9.6.11
1.3.6.1.4.1.42.2.27.9.6.12
1.3.6.1.4.1.42.2.27.9.6.13
1.3.6.1.4.1.42.2.27.9.6.14
1.3.6.1.4.1.42.2.27.9.6.15
1.3.6.1.4.1.42.2.27.9.6.16
1.3.6.1.4.1.42.2.27.9.6.17
1.3.6.1.4.1.42.2.27.9.6.18
1.3.6.1.4.1.42.2.27.9.6.19
1.3.6.1.4.1.42.2.27.9.6.21
1.3.6.1.4.1.42.2.27.9.6.22
1.3.6.1.4.1.4203.1.11.3]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic