Net::LDAP::Control::PasswordPolicy - Online Linux Manual PageSection : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation
NAMENet::LDAP::Control::PasswordPolicy − LDAPv3 Password Policy control object
SYNOPSIS use Net::LDAP;
use Net::LDAP::Control::PasswordPolicy;
use Net::LDAP::Constant qw( LDAP_CONTROL_PASSWORDPOLICY );
$ldap = Net::LDAP−>new( "ldap.example.com" );
$pp = Net::LDAP::Control::PasswordPolicy−>new;
$mesg = $ldap−>bind( "cn=Bob Smith,dc=example,dc=com",
password => "secret",
control => [ $pp ] );
# Get password policy response
my($resp) = $mesg−>control( LDAP_CONTROL_PASSWORDPOLICY );
if (defined($resp)) {
my $v = $resp−>pp_error;
print "Password policy error $v\n" if defined $v;
$v = $resp−>time_before_expiration;
print "Password expires in $v second(s)\n" if defined $v;
}
DESCRIPTIONNet::LDAP::Control::PasswordPolicy provides an interface for the creation and manipulation of objects that represent PasswordPolicyRequests and PasswordPolicyResponses as described by draft−behera−password−policy−09. This control can be passed to most operations, including the bind.
CONSTRUCTOR ARGUMENTSThere are no constructor arguments other than those provided by Net::LDAP::Control.
METHODStime_before_expiration If defined, this is an integer value holding the time left in seconds before the account's password will expire. grace_authentications_remaining If defined, this is an integer value holding the number of authentication requests allowed before the account is locked. pp_error If defined, this contains a more detailed error code for the account. See Net::LDAP::Constant for definitions of each. Values can include: LDAP_PP_PASSWORD_EXPIRED LDAP_PP_ACCOUNT_LOCKED LDAP_PP_CHANGE_AFTER_RESET LDAP_PP_PASSWORD_MOD_NOT_ALLOWED LDAP_PP_MUST_SUPPLY_OLD_PASSWORD LDAP_PP_INSUFFICIENT_PASSWORD_QUALITY LDAP_PP_PASSWORD_TOO_SHORT LDAP_PP_PASSWORD_TOO_YOUNG LDAP_PP_PASSWORD_IN_HISTORY
SEE ALSONet::LDAP, Net::LDAP::Control, Net::LDAP::Constant, draft−behera−ldap−password−policy−09.txt
AUTHORChris Ridd <chris.ridd@isode.com> Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl−ldap@perl.org>
COPYRIGHTCopyright (c) 2008 Chris Ridd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 0
Johanes Gumabo
Data Size : 9,888 byte
man-Net::LDAP::Control::PasswordPolicy.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 5 / 172,857
Visitor ID : :
Visitor IP : 3.137.162.107 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Net::LDAP::Control::PasswordPolicy.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Net::LDAP::Control::PasswordPolicy.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Net::LDAP::Control::PasswordPolicy.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Net::LDAP::Control::PasswordPolicy.3pm|43|'br══─}─══ |'br══─}─══
)