[turba] Turba Ldap errors
John H. Bennett III
bennettj at thebennetthome.com
Sun Jul 26 18:59:09 UTC 2009
Quoting eculp <eculp at encontacto.net>:
> Quoting Craig White <craigwhite at azapple.com>:
>
>> On Sat, 2009-07-25 at 21:56 -0500, John H. Bennett III wrote:
>>> Quoting eculp <eculp at encontacto.net>:
>>>
>>>> Quoting "John H. Bennett III" <bennettj at thebennetthome.com>:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I'm using all of the current stable horde version.
>>>>>
>>>>> I just noticed this in my logs today:
>>>>> Jul 25 07:26:05 mine slapd[3765]: get_ssa: conn 4098 unknown
>>>>> attribute type=turbaType (17)
>>>>>
>>>>> This happens when I actually click on address book.
>>>>>
>>>>> Further in the log I see this:
>>>>> Jul 25 07:25:55 jbesmith slapd[3765]: conn=4097 op=1 SRCH attr=dn
>>>>> uid turbaType turbaMembers cn mail homephone telephonenumber
>>>>> mobiletelephonenumber homepostaladdress calFBURL sn
>>>>>
>>>>> I checked turba/sources.php and I have:
>>>>> 'objectclass' => array('top',
>>>>> 'person',
>>>>> 'organizationalPerson',
>>>>> 'inetOrgPerson',
>>>>> 'turbaContact'),
>>>>> // Add 'turbaContact' to this
>>>>> array if using
>>>>> // ' turbaType' attribute below
>>>>>
>>>>> Then further down:
>>>>>
>>>>> // // From horde.schema. Make sure you have 'turbaContact'
>>>>> objectClass
>>>>> // // included above:
>>>>> '__type' => 'turbaType',
>>>>> '__members' => 'turbaMembers',
>>>>>
>>>>> I'm using this version of the horde.scheme:
>>>>> # $Horde: horde/scripts/ldap/horde.schema,v 1.20.10.7 2008/08/27
>>>>> 21:39:40 chuck Exp $
>>>>
>>>>
>>>> Could you just cut and paste the includes from your slapd.conf?
>>>>
>>>> thanks,
>>>>
>>>> ed
>>>>>
>>>>> and openldap version:
>>>>> [root at mine ~]# slapd -V
>>>>> @(#) $OpenLDAP: slapd 2.2.13 (Jul 25 2008 23:02:51) $
>>>>>
>>>>> mockbuild at builder16.centos.org:/builddir/build/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
>>>>>
>>>>> The error doesn't seem to be causing any issues with any of my
>>>>> searches, but I'd like help to find out why I am getting the above
>>>>> error.
>>>>>
>>>>> Please let me know if there is other information you need.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> John H. Bennett III
>>>>>
>>>
>>> Ed, here it is.
>>>
>>> include /etc/openldap/schema/core.schema
>>> include /etc/openldap/schema/cosine.schema
>>> include /etc/openldap/schema/inetorgperson.schema
>>> include /etc/openldap/schema/nis.schema
>>> include /etc/openldap/schema/redhat/rfc822-MailMember.schema
>>> include /etc/openldap/schema/redhat/autofs.schema
>>> include /etc/openldap/schema/rfc2739.schema
>> ----
>> you need to add the horde/turba schema if you want to use the
>> horde/turba attributes. LDAP is fussy about those things.
>>
>> on my installation, it is found at...
>> horde/scripts/ldap/horde.schema
>>
>> Craig
>>
> As Craig says, you nedd the horde.schema. I usually just link or
> copy it to the openldap schema directory and just add
> /etc/openldap/schema/horde.schema to the ldap configuration.
>
> enjoy,
Thanks for the help guys! The horde.schema is in the openldap schema
directory, it was just never included in slapd.conf.
John
More information about the turba
mailing list