Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::ldap::extra(3) [centos man page]

Net::LDAP::Extra(3)					User Contributed Perl Documentation				       Net::LDAP::Extra(3)

NAME
Net::LDAP::Extra -- Load extra Net::LDAP methods SYNOPSIS
use Net::LDAP::Extra qw(my_extn); $ldap = Net::LDAP->new( ... ); $ldap->my_extn( ... ); DESCRIPTION
"Net::LDAP::Extra" allows extra methods to be added to Net::LDAP. Normally such methods would be added by sub-classing Net::LDAP, but this proves to get messy as different people write different additions and others want to use multiple of these sub-classes. Users end up having to create sub-classes of their own which inherit from all the extension sub-classes just so they can get all the features. "Net::LDAP::Extra" allows methods to be added directly to all Net::LDAP objects. This can be done by creating a class "Net::LDAP::Extra::name" which exports functions. A "use Net::LDAP::Extra qw(name)" will then make these functions available as a methods on all "Net::LDAP" objects. Care should be taken when choosing names for the functions to export to ensure that they do not clash with others. SEE ALSO
Net::LDAP::Extra::AD, perl v5.16.3 2013-06-07 Net::LDAP::Extra(3)

Check Out this Related Man Page

Net::LDAP::Extra::eDirectory(3) 			User Contributed Perl Documentation			   Net::LDAP::Extra::eDirectory(3)

NAME
Net::LDAP::Extra::eDirectory -- extensions for Novell eDirectory SYNOPSIS
use Net::LDAP::Extra qw(eDirectory); $ldap = Net::LDAP->new( ... ); ... if ($ldap->is_eDirectory) my $mesg $ldap->list_replicas($server_dn); print "Replicas on $server_dn * " . join(" * ", $mesg->replicas) . " " if (!$mesg->code); } DESCRIPTION
Net::LDAP::Extra::eDirectory provides functions / LDAP extensions specific to Novell eDirectory. To do so, it provides the following methods: METHODS
is_eDirectory ( ) Tell if the LDAP server queried is Novell eDirectory server. As the check is done by querying the root DSE of the directory, it works without being bound to the directory. In contrast to other Net::LDAP methods this method returns TRUE / FALSE respectively undef on error. list_replicas ( SERVER_DN, OPTIONS ) Query the replicas on the given server SERVER_DN. On success, the resulting Net::LDAP::Message object supports the method "replicas" that returns the list of replicas on SERVER_DN. get_replica_info ( SERVER_DN, REPLICA_DN, OPTIONS ) Query information of REPLICA_DN on SERVER_DN. On success, the resulting Net::LDAP::Message object supports the method "replica_info" that returns a hash containing information on REPLICA_DN. trigger_backlinker ( OPTIONS ) Trigger the BackLinker process, which resolves external references to ensure they refer to real entries. trigger_janitor ( OPTIONS ) Trigger the Janitor process, which checks connectivity to all servers in database. trigger_limber ( OPTIONS ) Trigger the Limber process, which verifies the server name, internal ipx address and tree connectivity of all replicas. trigger_skulker ( OPTIONS ) Trigger the Skulker process, which checks the synchronization status of every server in the replica ring. trigger_schemasync ( OPTIONS ) Trigger SchemaSync. trigger_partitionpurge ( OPTIONS ) Trigger PartitionPurge. refresh_ldap_server ( OPTIONS ) Trigger refreshing the NLDAP service. AUTHOR
Peter Marschall <peter@adpm.de> COPYRIGHT
Copyright (c) 2013 Peter Marschall. 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.18.2 2013-07-21 Net::LDAP::Extra::eDirectory(3)
Man Page