DOKK / manpages / debian 11 / libnet-ldap-perl / Net::LDAP::Extra::eDirectory.3pm.en
Net::LDAP::Extra::eDirectory(3pm) User Contributed Perl Documentation Net::LDAP::Extra::eDirectory(3pm)

Net::LDAP::Extra::eDirectory -- extensions for Novell eDirectory

  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\n* " . join("\n* ", $mesg->replicas) . "\n"
      if (!$mesg->code);
  }

Net::LDAP::Extra::eDirectory provides functions / LDAP extensions specific to Novell eDirectory.

To do so, it provides the following methods:

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.

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.

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 the BackLinker process, which resolves external references to ensure they refer to real entries.
Trigger the Janitor process, which checks connectivity to all servers in database.
Trigger the Limber process, which verifies the server name, internal ipx address and tree connectivity of all replicas.
Trigger the Skulker process, which checks the synchronization status of every server in the replica ring.
Trigger SchemaSync.
Trigger PartitionPurge.
Trigger refreshing the NLDAP service.

Peter Marschall <peter@adpm.de>

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.

2021-01-03 perl v5.32.0