Plugtools::Plugins::HomeOU - Creates the home OU for a user.
Version 0.0.0
This creates the home OU a user has access to.
The function that will be called by Plugtools.
use Plugtools::Plugins::HomeOU; %returned=Plugtools::Plugins::HomeOU->plugin(\%opts, \%args); if($returned{error}){ print "Error!\n"; }
The variable "homebase" in the section "HomeOU" is undefined.
$args{user} is not defined
Failed to add the new entry.
The search to check if it exists failed.
The home OU already exists.
pluginAddUser=Plugtools::Plugins::HomeOU [HomeOU] homebase=ou=home,dc=foo,dc=bar errorIfExists=0
This is the DB to create the home OU under.
This controls if it it should error or not if it already exists. If this is defined, it will check if it already exists.
If this is not defined, it defaults to false.
A rule like the one below will need setup for this to be useful.
access to dn.regex="^(.+,)?ou=([^,]+),ou=home,dc=foo,dc=bar$" by dn.exact,expand="uid=$2,ou=users,dc=foo,dc=bar" write by * none
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-plugtools at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Plugtools-Plugins-HomeOU. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-plugtools at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Plugtools::Plugins::HomeOU perldoc Plugtools
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Plugtools-Plugins-HomeOU
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Plugtools-Plugins-HomeOU
CPAN Ratings
http://cpanratings.perl.org/d/Plugtools-Plugins-HomeOU
Search CPAN
http://search.cpan.org/dist/Plugtools-Plugins-HomeOU/
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.
To install Plugtools::Plugins::HomeOU, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plugtools::Plugins::HomeOU
CPAN shell
perl -MCPAN -e shell install Plugtools::Plugins::HomeOU
For more information on module installation, please visit the detailed CPAN module installation guide.