6.0.0-alpha10
5/17/25

[#8149] Add to Address Book needs to ask for more info for LDAP backend
Summary Add to Address Book needs to ask for more info for LDAP backend
Queue IMP
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester simon (at) simonandkate (dot) net
Created 04/05/2009 (5886 days ago)
Due
Updated 06/02/2011 (5098 days ago)
Assigned
Resolved 06/02/2011 (5098 days ago)
Milestone
Patch No

History
06/02/2011 09:42:59 PM Jan Schneider State ⇒ Resolved
 
05/27/2011 01:16:40 AM simon (at) simonandkate (dot) net Comment #2 Reply to this comment
Pretty sure this is fixed in Imp 5 / Turba 3.

Turba's checkrequired parameter works for me, so this is resolved for me.

         // Consult the LDAP schema to verify that all required attributes for
         // an entry are set and add them if needed.
         'checkrequired' => true,
         // Value used to fill in missing required attributes.
         'checkrequired_string' => ' ',

Thanks guys, good fix.
04/05/2009 10:51:53 PM Jan Schneider Version ⇒ Git master
 
04/05/2009 10:51:36 PM Jan Schneider State ⇒ Accepted
 
04/05/2009 06:46:56 AM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Add to Address Book needs to ask for more info for LDAP backend
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
I have Turba set up to use LDAP for personal address books. This works 
fine, I can add new contacts and search existing ones.



Imp is configured to use the LDAP address book as default. When I 
click on the "Add to Address Book" icon in a mail in Imp, it fails 
because the submission to LDAP does not include enough information and 
returns an object class violation. I.e. the address doesn't have "sn" 
that is required for the address book entry.



Reproducible - yes every time.

Expected behaviour - if "Add to Address Book" submission does not 
contain enough information to successfully create the entry, it should 
return a partially-completed form for the user to fill in mandatory 
fields before re-submission.

Saved Queries