LDAP probléma

Fórumok

Nagyobb openldap verzióugrás után nem tudom visszatölteni az ldif file-t, mert invalid structural object class chain (organizationalUnit/DNSzone) hibával nem engedi felvenni a DNS bejegyzéseket. Google-t már több napja túrom, de semmi értelmes válasz. Valószínűleg a schema lesz problémás, de a régi schema fájlokat használom és nem megy. Ha az új schemafájlokat kezdem el használni, akkor még több összeakadás van.

Tud valaki segíteni? Miket másoljak be hozzá?

Hozzászólások

Tegyél be ide egy hibás(nak nyilvánított) bejegyzést, biztos meg lehet oldani a problémát, ha látjuk is, hogy mi az...

dn: ou=cegem_hu,ou=intra,ou=DNS,o=Cegem,c=hu
ou: cegem_hu
cn: cegem.hu
DNSzonename: cegem.hu
DNSrefresh: 10800
DNSretry: 3600
DNSexpire: 3600000
DNSminimum: 86400
DNSadminmailbox: gazdi.cegem.hu
DNSzonemaster: het.cegem.hu
creatorsName: cn=admin,o=Cegem,c=hu
createTimestamp: 20020711141627Z
entryUUID: 24c565ee-7425-1028-9ad4-cbb9031cb74c
DNStype: a
objectClass: organizationalUnit
objectClass: DNSzone
DNSserial: 2012071801
entryCSN: 20120718111519Z#000001#00#000000
modifiersName: cn=admin,o=Cegem,c=hu
modifyTimestamp: 20120718111519Z

És milyen a DNSzone sémája?
Mert amit én ismerek, az már eleve "structural", azaz az organizatinalUnittal ütik egymást, ráadásul emiatt se cn, se ou attributum nincs benne (meg egy csomó mindent máshogy hívnak).
Ha a régi schema fájlt használod, akkor a STRUCTURAL-t cseréld ki AUXILIARY-ra benne, aztán hátha jó lesz.

attributetype ( 1.3.6.1.4.1.7222.1.4.1
NAME 'DNSzonename'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.2
NAME 'DNSserial'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.3
NAME 'DNSrefresh'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.4
NAME 'DNSretry'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.5
NAME 'DNSexpire'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.6
NAME 'DNSminimum'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.7
NAME 'DNSadminmailbox'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.8
NAME 'DNSzonemaster'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.9
NAME 'DNStype'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.10
NAME 'DNSclass'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.11
NAME 'DNSdomainname'
SUP name )

attributetype ( 1.3.6.1.4.1.7222.1.4.12
NAME 'DNSipaddr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7222.1.4.13
NAME 'DNScipaddr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7222.1.4.14
NAME 'DNScname'
SUP name )
attributetype ( 1.3.6.1.4.1.7222.1.4.15
NAME 'DNSpreference'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.16
NAME 'DNSrr'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.17
NAME 'DNSttl'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7222.1.4.18
NAME 'DNStimestamp'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.7222.1.4.19
NAME 'DNSzone'
MUST ( objectclass $ cn )
MAY ( DNSzonename $ DNSserial $ DNSrefresh $ DNSretry $ DNSexpire
$ DNSminimum $ DNSadminmailbox $ DNSzonemaster $ DNStype $ DNSclass
$ DNSttl $ DNStimestamp $ owner $ description ) )

objectclass ( 1.3.6.1.4.1.7222.1.4.20
NAME 'DNSrrset'
SUP DNSzone
MUST ( objectclass $ cn )
MAY ( DNSdomainname $ DNSrr $ DNSclass $ DNStype $ DNSipaddr $ DNScipaddr
$ DNScname $ DNSpreference $ DNSttl $ DNStimestamp $ owner ) )

és ha mondjuk így módosítod a DNSzone-t:

objectclass ( 1.3.6.1.4.1.7222.1.4.19
NAME 'DNSzone'
SUP top AUXILIARY
MUST ( objectclass $ cn )
MAY ( DNSzonename $ DNSserial $ DNSrefresh $ DNSretry $ DNSexpire
$ DNSminimum $ DNSadminmailbox $ DNSzonemaster $ DNStype $ DNSclass
$ DNSttl $ DNStimestamp $ owner $ description ) )