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  -  ADDRESSBOOK::DB::LDIF (3)

.ds Aq ’

NAME

AddressBook::DB::LDIF - Backend for AddressBook to use LDIF files.

CONTENTS

SYNOPSIS



  use AddressBook;
  $a = AddressBook->new(source => "LDIF",
                        filename => "/tmp/ldif")



DESCRIPTION

AddressBook::DB::LDIF supports sequential backend database methods.

AddressBook::DB::LDIF behavior can be modified using the following options:
key_fields A list of LDIF attribute names (not cannonical names) which can be used to uniquely identify an entry.
base The LDAP base for all entries
objectclass The LDAP objectclass for entries
dn_calculate A perl expression which, when eval’d returns a valid LDAP dn (omitting the base part of the dn). Other attributes may be referenced as $<attr>.

For example, if LDIF entries have a dn like: cn=John Doe,mail=jdoe@mail.com, then use the following:



  dn_calculate="cn= . $cn . ,mail= . $mail"



Any of these options can be specified in the constructor, or in the configuration file.

    new

The LDIF file is specified using the filename parameter:



  $a = AddressBook->new(source => "LDIF",
                        filename => "/tmp/ldif")



The filename may also be specified in the configuration file.

    Timestamps

For syncronization purposes, all records are timestamped with the modification date of the LDIF file.

AUTHOR

David L. Leigh, <dleigh@sameasiteverwas.net>

SEE ALSO

AddressBook, AddressBook::Config, AddressBook::Entry.

Net::LDAP

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


perl v5.20.3 ADDRESSBOOK::DB::LDIF (3) 2001-01-14

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