Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plugtools::Plugins::HoUser(Contributed Perl DocumPlugtools::Plugins::HomeOU(3)

NAME
       Plugtools::Plugins::HomeOU - Creates the	home OU	for a user.

VERSION
       Version 0.0.0

SYNOPSIS
       This creates the	home OU	a user has access to.

Functions
   plugin
       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";
	   }

ERROR CODES
   1
       The variable "homebase" in the section "HomeOU" is undefined.

   2
       $args{user} is not defined

   3
       Failed to add the new entry.

   4
       The search to check if it exists	failed.

   5
       The home	OU already exists.

PLUGTOOLS CONFIG
	   pluginAddUser=Plugtools::Plugins::HomeOU
	   [HomeOU]
	   homebase=ou=home,dc=foo,dc=bar
	   errorIfExists=0

   homebase
       This is the DB to create	the home OU under.

   errorIfExists
       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.

LDAP CONFIG
       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

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

BUGS
       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.

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

	   perldoc Plugtools::Plugins::HomeOU
	   perldoc Plugtools

       You can also look for information at:

       o   RT: CPAN's request tracker

	   <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Plugtools-Plugins-HomeOU>

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/Plugtools-Plugins-HomeOU>

       o   CPAN	Ratings

	   <http://cpanratings.perl.org/d/Plugtools-Plugins-HomeOU>

       o   Search CPAN

	   <http://search.cpan.org/dist/Plugtools-Plugins-HomeOU/>

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.

perl v5.24.1			  2009-09-18	 Plugtools::Plugins::HomeOU(3)

NAME | VERSION | SYNOPSIS | Functions | ERROR CODES | PLUGTOOLS CONFIG | LDAP CONFIG | AUTHOR | BUGS | SUPPORT | ACKNOWLEDGEMENTS | COPYRIGHT & LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plugtools::Plugins::HomeOU&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help