Net::LDAP::Class::Loader - interrogate an LDAP schema
package MyLDAPClass; use strict; use base qw( Net::LDAP::Class ); __PACKAGE__->metadata->setup( use_loader => 1, ldap => $ldap, object_classes => [qw( posixAccount )], # optional ); 1;
Net::LDAP::Class:Loader inspects a Net::LDAP::Schema object and determines which attributes are available and which are unique.
Checks that ldap() and object_classes() are defined.
Inspects the Net::LDAP::Schema object and returns hashref of
Get/set the base DN used by interrogate().
Get/set the Net::LDAP object.
Get/set the array ref of object classes to be used by interrogate().
<karman at cpan.org>
Please report any bugs or feature requests to
bug-net-ldap-class at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-LDAP-Class. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
The Minnesota Supercomputing Institute
http://www.msi.umn.edu/ sponsored the development of this software.
Copyright 2008 by the Regents of the University of Minnesota. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.