ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



Net::LDAP::Extension::WhoAmI(3)      User Contributed Perl Documentation     Net::LDAP::Extension::WhoAmI(3)



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
       draft-zeilenga-ldap-authzid-09.

       It implements no object by itself but extends the Net::LDAP 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
       Net::LDAP, Net::LDAP::Extension

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 v5.8.8                                      2005-04-25                  Net::LDAP::Extension::WhoAmI(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.