[turba] ldap add contact error - object class violation
alois blasbichler
alois.blasbichler at sb-brixen.it
Thu Mar 13 08:24:51 PST 2003
Zitat von Joe Cave <Joe at tendocom.com>:
> hello,
> i posted with this problem about a month ago, didn't get any responses,
> re-did my horde setup, still having same prob so now i'm trying again. i
> think i must be missing something simple... i'm trying to get a turba
> personal address book working with an ldap backend but seem to be having
> problems adding new contacts. also, i can use the preferences-based address
> book so i know horde is talking to ldap correctly.
>
>
> [ID 217296 local4.debug] conn=5 op=1 RESULT tag=105 err=65 text=invalid
> structural object class chain (pilotPerson/organizationalPerson)
>
hello,
i instgalled horde 2.2 and imp 3.2 with turba1.1 about 1 Month ago
on linux (Suse) with openLDAP 2.1.4
storing users, preferences, turba all in LDAP (i dont use MYSQL)
It was a hard WAY, because LDAP is not the favorite for the developers and the
doc are pretty small.
I have understod that my and probable yours problem is Openldap Version 3:
is very strict with the schema definition (with schemacheck off or ON)
ITS TIME TO WRITE A GOOD LDAP-DOCU for Horde !! (ldap is the future)
########################
to solve your problem above try:
create a new schema like hordepers.schema with :
objectclass ( 1.3.6.1.4.1.13040.1.23.4333.331001
NAME 'aloisinethorde'
DESC 'alois inetorgperson hordeperson'
SUP ( inetOrgPerson $ hordePerson) STRUCTURAL
)
objectclass ( 1.3.6.1.4.1.13040.1.23.4333.331002
NAME 'pilotaa'
DESC 'alois inetorgperson hordeperson'
SUP ( pilotPerson $ organizationalPerson ) STRUCTURAL
)
###########################################
with the line in slapd.conf:
include /etc/openldap/schema/hordepers.schema
and in sources.php off turba
i inserted
'objectclass' => array('person',
'pilotaa',
'pilotperson',
'organizationalPerson'),
############################################
with the pilotaa-entry : for ldap is possible to write the objectclass
pilotPerson and organizationalPerson in one object
the aloisinethorde i used or my users (nothing turba)
so for me works the personal addressbook, without this entries not
PS: i am trying to ionstall now turba 1.2. All works fine without the
mailinglists for the personal adressbooks : i can make mailinglsits in my
personal adressbook but i cant edit:
i have inserted in sources.php for the personala adressook:
'map' => array(
'__key' => 'dn',
'__type' => 'type',
'__members' => 'members',
for this i inserted in my hordepers.schema:
attributetype ( 1.3.6.1.4.1.13040.221.222.4.101
NAME 'type'
DESC 'type'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )
attributetype ( 1.3.6.1.4.1.13040.221.2222.4.102
NAME 'members'
DESC 'members'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} )
##############################
that was i sayed bevor: to use this features with ldap i have to change the
schemas .... but there is no documentation on how to make it
i will try to write some documentation - for beginners
luis
More information about the turba
mailing list