
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>

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.

You can find documentation for this module with the perldoc command.
perldoc Plugtools::Plugins::HomeOU
perldoc Plugtools
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?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.