6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12427] No UID field returned on vCards
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . .. ..__ . , [__)|\/||\/|[__) \./ | \| || || \ |
Comment
> I've been having trouble syncing Turba's address books with Mac OSX > "Address Book" application. The console log indicates that the UID > field is missing. Now I'm noticing that none of the vCards that come > over CardDAV include a UID field. > > For example, in my LDAP address book I created a new contact and then > fetched the vCard via curl: > > $ curl -u username:password > 'http://example.com/rpc/addressbooks/username/contacts%3alocalldap/cn%3dTest%20Testington%2cou%3dGlobal%20Directory%2cdc%3dexample%2cdc%3dcom.vcf' > > BEGIN:VCARD > VERSION:3.0 > FN:Test Testington > EMAIL;TYPE=INTERNET:test@email.com > TEL;TYPE=HOME,VOICE: > TEL;TYPE=WORK,VOICE: > TEL;TYPE=CELL,VOICE: > LABEL;TYPE=HOME: > N:Testington;Test;;; > ADR;TYPE=HOME:;;;;;; > END:VCARD > > > I made sure that my backends.local.php includes a map for __uid => > dn. This is the complete config for this address book: > > $cfgSources['localldap']['disabled'] = false; > $cfgSources['localldap']['title'] = 'Shared Contacts'; > $cfgSources['localldap']['params']['server'] = 'localhost'; > $cfgSources['localldap']['params']['root'] = 'ou=Global > Directory,dc=example,dc=com'; > $cfgSources['localldap']['params']['bind_dn'] = > 'cn=Manager,dc=example,dc=com'; > $cfgSources['localldap']['params']['bind_password'] = '*****'; > $cfgSources['localldap']['params']['sizelimit'] = 0; > $cfgSources['localldap']['params']['checkrequired'] = true; > $cfgSources['localldap']['params']['objectclass'][] = 'turbaContact'; > $cfgSources['localldap']['params']['objectclass'][] = 'calEntry'; > $cfgSources['localldap']['map']['__uid'] = 'dn'; > $cfgSources['localldap']['map']['__type'] = 'turbaType'; > $cfgSources['localldap']['map']['__members'] = 'turbaMembers'; > $cfgSources['localldap']['map']['freebusyUrl'] = 'calFBURL'; > > > This behaviour occurs in *all* of my address books shared via > CardDAV, though. They all have __uid mapped to some field and yet > *none* of them provide a UID field in the vCard. This makes the OSX > Address Book app fail to add them. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers