GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::LDAP::AUTODNS (3)

.ds Aq ’

NAME

Net::LDAP::AutoDNs - Automatically make some default decisions some LDAP DNs and scopes.

CONTENTS

VERSION

Version 0.2.2

SYNOPSIS



    use Net::LDAP::AutoDNs;

    my $obj = Net::LDAP::AutoDNs->new();

    print $obj->{users}."\n";
    print $obj->{usersScope}."\n";
    print $obj->{dns}."\n";
    print $obj->{groups}."\n";
    print $obj->{groupsScope}."\n";
    print $obj->{home}."\n";
    print $obj->{base}."\n";
    print $obj->{bind}."\n";



METHODS

    new

Creates a new Net::LDAP::AutoDNs object.

hash args

methods

This is a comma seperated list of methods to use.

The currently supported ones are listed below and checked in the listed order.



    hostname
    env
    devldap
    EESDPenv



The naming of those wraps around to the similarly named methodes.



    #Only the hostname methode will be tried.
    my $obj=Net::LDAP::AutoDNs->({methodes=>"hostname"});
   
    #First the env methdoe will be tried and then the hostname methode.
    my $obj=Net::LDAP::AutoDNs->({methodes=>"env,hostname"})



    newEESDP

Creates a new Net::LDAP::AutoDNs object in a EESDP LDAP Standard method.

    byDevLDAP

This sets it up using the information found under ’/dev/ldap/’.

More information on this can be found at http://eesdp.org/eesdp/ldap-kmod.html .

    byEnv

This sets it up using $ENV{AutoDNbase} for the base.

    byEESDPenv

Populates all DNs using the EESDP LDAP Standard in regards to environmental values.

    byHostname

Sets the DNs based on the hostname. The last subdomain is chopped off and each ’.’ is replaced with a ’,dc=’. This means ’host.foo.bar’ becomes ’dc=foo,dc=bar’.

Returns true if it succeeds.

Error Codes

$obj->{error} is defined, there is an error.

    0

Methode not implemented yet.

    1

Retrieving hostname failed. Most likely caused by ’hostname’ not being in the path.

    2

None of the methodes returned matched or returned true.

    3

Either the system does not support /dev/ldap/.

AUTHOR

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

BUGS

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



You can also look for information at:
o RT: CPAN’s request tracker

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

o AnnoCPAN: Annotated CPAN documentation

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

o CPAN Ratings

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

o Search CPAN

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

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::LDAP::AUTODNS (3) 2010-06-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.