...
- 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
- (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"
- Add ldap connection
- 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. ##
- 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:
- (if it's not running) Start up Apache Directory Studio
- Locate ou=people 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, click Update existing entries.
- 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.
- Log into the Bedework personal calendar.
- Select "Contacts" in the left menu to open the Bedework address book client.
- In the address book client menus, select Tools → Import
- In a text editor, open the vcard file you wish to import.
- Copy the text of the vcard data and paste it into the text box in the Bedework address book client.
- Click "Import".
- #* Add ldap connection
- #* #* #* #* #** server: localhost:10389#** user dn: uid=admin,ou=system password="secret"
Adding Public People
Importing vcard data into Bedework using the Bedework Address Book web client (for a single user's address book)
...