Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Because public locations are served by the built-in LDAP server, prepare them for import by preparing an LDIF file (let's say locations.ldif), with entries that look like this:
    Code Block
    dn: cn=CafeDeLaButte,ou=locations,ou=public,dc=bedework,dc=org
    objectclass: top
    objectclass: calendarresource
    objectclass: schedapprovalinfo
    objectclass: calEntry
    objectclass: room
    kind: location
    uid: bw000001@mysite.edu
    calCalAdrURI: mailto:loc_cafedelabutte@mysite.edu
    mail: loc_cafedelabutte@mysite.edu
    cn: CafeDeLaButte
    ou: locations
    description: Cafe De La Butte
    autoschedule: TRUE
  2. (Download, Install and) Start up Apache Directory Studio and point it at the Bedework Directory Server
    • Add ldap connection
      • server: localhost:10389
      • user dn: uid=admin,ou=system password="secret"
  3. Locate ou=locations under ou=public, under dc=bedework, dc=org## Import locations.ldif by right-clicking on ou=locations and choosing import/ldif import and browsing to its location.   If there's a chance of duplicates, clickUpdate existing entries. ##
  4. Test with http://localhost:8080/ucarddav/public/locations.

Adding Public People

Like with locations. public people need to be imported via an LDIF. So, if you're starting with a VCARD, this entry

Code Block
BEGIN:VCARD
VERSION:4.0
EMAIL:tedison@mysite.edu
N:Thomas Alva Edison
CALADRURI:mailto:tedison@mysite.edu
FN:TEdison
WORK.TEL;TYPE=voice:222-222-2222
NICKNAME:Sparky
END:VCARD

needs to be turned into this entry:

dn: cn=TEdison,ou=people,ou=public,dc=bedework,dc=org
objectClass: organizationalPerson
objectClass: person
objectClass: inetOrgPerson
objectClass: calEntry
objectClass: top
cn: TEdison
sn: Thomas Alva Edison
calCalAdrURI: tedison@mysite.edu
displayName: Sparky
mail: tedison@mysite.

...

## edu
ou: people
telephoneNumber: 222-222-2222
uid: bwpp00002@mysite.edu

Code Block

Then:

  1. (if it's not running) Start up Apache Directory Studio
  2. Locate ou=people under ou=public, under dc=bedework, dc=org
  3. Import locations.ldif by right-clicking on ou=locations and choosing import/ldif import and browsing to its location.   If there's a chance of duplicates, click Update existing entries.
  4. Test with http://localhost:8080/ucarddav/public/people

Importing vcard data into Bedework using the Bedework Address Book web client (for a single user's address book)

The Bedework address book client allows personal calendar users to import vcard data directly into their personal address books.

  1. Log into the Bedework personal calendar.
  2. Select "Contacts" in the left menu to open the Bedework address book client.
  3. In the address book client menus, select Tools → Import
  4. In a text editor, open the vcard file you wish to import.
  5. Copy the text of the vcard data and paste it into the text box in the Bedework address book client.
  6. Click "Import".
  1. #* Add ldap connection
  1. #*  #* #*  #* #** server: localhost:10389#** user dn: uid=admin,ou=system   password="secret"

    Adding Public People

bwpp00002@mysite.edu

Importing vcard data into Bedework using the Bedework Address Book web client (for a single user's address book)

...