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:
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.
On success, the resulting Net::LDAP::Message object supports the method "replicas" that returns the list of replicas 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.
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 |