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

FreeBSD Manual Pages

  
 
  

home | help
Net::LDAP::Makepath(3)User Contributed Perl DocumentatioNet::LDAP::Makepath(3)

NAME
       Net::LDAP::Makepath - Provides a	methode	for creating paths in LDAP
       simply.

VERSION
       Version 1.0.1

SYNOPSIS
	   use Net::LDAP::Makepath;

	       #Uses $ldap to create the new entries.
	       #The objectClasses used are top and organizationalUnit.
	       #The attribute used for the DNs is ou.
	       #The path to be created is "some/path".
	       #The base is "dc=foo,dc=bar".
	       #
	       #The resulting entries are...
	       #dn: ou=some,dc=foo,dc=bar
	       #objectClass: top
	       #objectClass: orginationalUnit
	       #ou: some
	       #
	       #dn: ou=path,ou=some,dc=foo,dc=ath
	       #objectClass: top
	       #objectClass: orginationalUnit
	       #ou: path
	       my $returned=LDAPmakepathSimple($ldap, ["top", "organizationalUnit"], "ou",
						       "some,path", "dc=foo,dc=bar")
	   if(!returned){
	       print "LDAPmakepathSimple failed.";
	   };

EXPORT
       LDAPmakepathSimple

FUNCTIONS
   LDAPmakepathSimple
       This creates a path from	a comma	seperated path.	 Five arguements are
       required.

       The first arguement is a	Net::LDAP connection object.

       The second arguement is a array of objectClasses.

       The third the attribute to use for creating the DNs.

       The fourth is the path to use. It is broken apart at each ,.

       The firth is the	base DN	to use.

       The returned object is a	perl boolean value.

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

BUGS
       Please report any bugs or feature requests to "bug-net-ldap-makepath at
       rt.cpan.org", or	through	the web	interface at
       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-LDAP-Makepath>.  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 Net::LDAP::Makepath

       You can also look for information at:

       o   RT: CPAN's request tracker

	   <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-LDAP-Makepath>

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/Net-LDAP-Makepath>

       o   CPAN	Ratings

	   <http://cpanratings.perl.org/d/Net-LDAP-Makepath>

       o   Search CPAN

	   <http://search.cpan.org/dist/Net-LDAP-Makepath>

ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
       Copyright 2008 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			  2010-06-26		Net::LDAP::Makepath(3)

NAME | VERSION | SYNOPSIS | EXPORT | FUNCTIONS | AUTHOR | BUGS | SUPPORT | ACKNOWLEDGEMENTS | COPYRIGHT & LICENSE

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

home | help