Net::LD...:WhoAmI(3)
π NAME π
okay so welcome to Net::LD...:WhoAmI(3) from User Contributed Perl Documentation β the module is Net::LDAP::Extension::WhoAmI, and it's literally the LDAP "Who am I?" Operation π
β¨
πΈ SYNOPSIS πΈ
bestie, here's the exact code vibe:
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 it 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. that's the whole assignment, bestie π
π SEE ALSO π
Net::LDAPNet::LDAP::Extension
π AUTHOR π
- Author:
Norbert Klasen <norbert.klasen@avinci.de>, - Bugs/suggestions: 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.
okay that's the whole page, bestie β kisses and slay π. This one came from perl v5.42.0, dated 2024-01-02, under the Net::LD...:WhoAmI(3) tag π
π¦ where this page comes from
- opensuse-leap 16.0: perl-ldap 0.68-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms