Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::LDAP::Extension::WhoAmI

Name Net::LDAP::Extension::WhoAmI
Version 0.02
Located at /usr/local/share/perl5
File /usr/local/share/perl5/Net/LDAP/Extension/WhoAmI.pm
Is Core No
Search CPAN for this module Net::LDAP::Extension::WhoAmI
Documentation Net::LDAP::Extension::WhoAmI
Module Details Net::LDAP::Extension::WhoAmI

NAME

Net::LDAP::Extension::WhoAmI - LDAP ``Who am I?'' Operation


SYNOPSIS

 use Net::LDAP;
 use Net::LDAP::Extension::WhoAmI;
 $ldap = Net::LDAP->new( "ldap.mydomain.eg" );
 $ldap->bind('cn=Joe User,cn=People,dc=example,dc=com",
             password => 'secret');
 $mesg = $ldap->who_am_i();
 die "error: ", $mesg->code(), ": ", $mesg->error()  if ($mesg->code());
 print "you are bound with authzId ", $mesg->response(), "\n";


DESCRIPTION

Net::LDAP::Extension::WhoAmI implements the Who am I? extended LDAPv3 operation as described in RFC 4532.

It implements no object by itself but extends the the Net::LDAP manpage object by another method:


METHODS

who_am_i
Obtain the authorization identity which the server has associated with the user or application entity.


SEE ALSO

the Net::LDAP manpage, the Net::LDAP::Extension manpage


AUTHOR

Norbert Klasen <norbert.klasen@avinci.de>,

Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>


COPYRIGHT

Copyright (c) 2002-2004 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024