[turba] ldap shared direcory: company title not allowed

Mark Worsdall turba at worsdall.demon.co.uk
Mon Feb 20 17:29:56 PST 2006


Hi,

We decided we wanted the shared address book to have the extra fields in 
it so we had the horde map 'company' => 'organizationname', and in 
slapd.conf add the extra field into it:

         attrs=entry,objectClass,mail,telephoneNumber,mobiletelephonenumbe
r,title,organizationname,businesscategory,postaladdress,postalcode,teleph
onenumber,facsimiletelephonenumber,homepostaladdress,homephone,displayNam
e,labeledURI,calFBURL


I decided to add it into objectclass list to try anyway in the 
soruces.php file:

         'objectclass' => array('top',
                                'person',
                                'inetOrgPerson',
                                'organization',
                                'organizationalPerson'),

When all done and restarted slapd and tried to save entry I got:

There was an error updating this entry: Modify failed: (17) Undefined 
attribute type


Course that did not allow for the saving of a companytitle to be allowed 
since it is used already I am thinking for the actual company we are I 
am thinking?


Do I have to choose another objectclass to map to from the schemas?


For now I have removed display name for nickname and are using that, but 
it does mean when people are transfering from personal addrerss book to 
shared address book that the company title is lost

Any suggestions?

M.
-- 
Mark Worsdall
http://www.shadowrobot.com/  need a hand??


More information about the turba mailing list