NAME

Quiq::Ldap::Client - LDAP Client

BASE CLASS

Quiq::Hash

DESCRIPTION

Ein Objekt der Klasse repräsentiert einen LDAP-Client.

METHODS

Konstruktor

new() - Instantiiere Objekt

Synopsis

$ldap = $class->new($host,%options);

Arguments

$host

LDAP-Server. Siehe Net::LDAP.

%options

Optionen als Schlüssel/Wert-Paare. Siehe Net::LDAP.

Returns

Object

Description

Instantiiere eine Objekt der Klasse und liefere eine Referenz auf dieses Objekt zurück.

Example

$ldap = Quiq::Ldap::Client->new('dc1',debug=>12);

Objektmethoden

bind() - Login auf LDAP-Server

Synopsis

$ldap->bind;               # anonymous
$ldap->bind($dn,%options);

Arguments

$dn

DN, mit der gebunden wird.

%options

Optionen als Schlüssel/Wert-Paare. Siehe Net::LDAP.

Description

Logge User auf LDAP-Server ein.

search() - Durchsuche Server

Synopsis

$ldap->search(%options);

Arguments

%options

Optionen als Schlüssel/Wert-Paare. Siehe Net::LDAP.

Description

Durchsuche den LDAP-Server durch Anwendung eines Filters.

unbind() - Trenne Verbindung

Synopsis

$ldap->unbind;

Description

Trenne die Verbindung zum LDAP-Server.

VERSION

1.205

AUTHOR

Frank Seitz, http://fseitz.de/

COPYRIGHT

Copyright (C) 2022 Frank Seitz

LICENSE

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.