⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.23
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
perl5
/
vendor_perl
/
Net
/
View File Name :
LDAPI.pm
# Copyright (c) 2003-2004 Derrik Pates <dpates@dsdk12.net> and Graham Barr # <gbarr@pobox.com>. All rights reserved. This program is free # software; you can redistribute it and/or modify it under the same # terms as Perl itself. package Net::LDAPI; use strict; use Net::LDAP; our @ISA = qw(Net::LDAP); our $VERSION = '0.04'; sub new { shift->SUPER::new(@_, scheme => 'ldapi'); } 1; __END__ =head1 NAME Net::LDAPI - use LDAP over a UNIX domain socket =head1 SYNOPSIS use Net::LDAPI; $ldapi = Net::LDAPI->new('/var/run/ldapi'); # alternate way use Net::LDAP; $ldapi = Net::LDAP->new('ldapi://'); =head1 DESCRIPTION Communicate using the LDAP protocol to a directory server using a UNIX domain socket. This mechanism is non-standard, UNIX-specific and not widely supported. All the normal C<Net::LDAP> methods can be used with a C<Net::LDAPI> object; see L<Net::LDAP> for details. =head1 CONSTRUCTOR =over 4 =item new ( [SOCKPATH] ) Create a new connection. SOCKPATH can optionally be specified, to specify the location of the UNIX domain socket to connect to. If SOCKPATH is not given, the environment variable C<LDAPI_SOCK> is evaluated, and if that does not exist, the value C</var/run/ldapi> is used. See L<Net::LDAP/new> for further details. =back =head1 SEE ALSO L<Net::LDAP>, L<IO::Socket::UNIX> =head1 BUGS None yet. =head1 AUTHOR Derrik Pates E<lt>dpates@dsdk12.netE<gt> =head1 COPYRIGHT Copyright (c) 2003-2004, Derrik Pates and Graham Barr. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut