NAME

Sys::Dev::LDAP::Populate - Populates various parts of /dev/ldap.

VERSION

Version 0.1.1

SYNOPSIS

use Sys::Dev::LDAP::Populate;

my $foo = Sys::Dev::LDAP::Populate->new();

$foo->populate

if($foo->{error}){
    print "Error!";
}

For this Net::LDAP::AutoDNs and Net::LDAP::AutoServers is used, with their methods set to the defaults, minus 'devldap'.

METHODS

new

Initiates the object.

my $foo=Sys::Dev::LDAP::Populate->new;

populate

This populates the entries under "/dev/ldap".

$foo->populate;
if($foo->{error}){
    print "Error!";
}

errorblank

This blanks the error storage and is only meant for internal usage.

It does the following.

$zconf->{error}=undef;
$zconf->{errorString}="";

ERROR CODES

This may be tested via checking if "$foo->{error}" is true. If it is true, then a description can be found via checking "$foo->{errorString}".

1

LDAP kmod does not appear to be present.

AUTHOR

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-sys-dev-ldap-populate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sys-Dev-LDAP-Populate. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Sys::Dev::LDAP::Populate

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 Zane C. Bowers, all rights reserved.

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