PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim Starten von LDAP



drachoner
20.08.08, 14:33
Hallo zusammen,

ich bin gerade dabei ein zweites System von einem Server aufzubauen. Auf diesem Server läuft ein 2.0er LDAP-Server auf RHAS 2. => System A

Das System, um das es jetzt geht ist ein RHEL5 Server. Die dort eingesetzte Version von LDAP ist 2.3.x.x .

Der Export der LDAP-DB von System A hat problemlos funktioniert. Beim Import auf System B möchte er, dass ich den LDAP-Server starte.

Beim Starten des LDAP auf System B kommt folgende Fehlermeldung


Konfigurationsdateien nach slapd untersuchen /cservice/ldap/openldap/schema/test.schema: line 17: AttributeType inappropriate matching rule: "octetStringMatch" slaptest: bad configuration file!

Ich habe versucht den 2.0er LDAP auf System B zu installieren, aber dort gibt es fehlende abhängigkeiten zu irgendwelchen Bibliotheken.

Hat jemand ahnung, wie ich die Configuration File anpassen muss?

test.schema:


attributetype ( 1.1.1.100.1
NAME 'login'
DESC 'Benutzerkennzeichen'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
)
attributetype ( 1.1.1.100.2
NAME 'password'
DESC 'Kennwort'
EQUALITY octetStringMatch
SUBSTR octetStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
attributetype ( 1.1.1.100.3
NAME 'region'
DESC 'Regionszugehoerigkeit'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.4
NAME 'category'
DESC 'Kategorie'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.5
NAME 'country'
DESC 'Landeszugehoerigkeit'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.6
NAME 'division'
DESC 'Gebietsaufteilung'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.7
NAME 'anrede'
DESC 'Anrede'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.8
NAME 'company'
DESC 'Firma'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.9
NAME 'streetnr'
DESC 'Strassennummer'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.10
NAME 'zipcode'
DESC 'Postleitzahl'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.11
NAME 'location'
DESC 'Ort'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.12
NAME 'dienststelle'
DESC 'Zustaendige Dienststelle'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.13
NAME 'wetterstation'
DESC 'Wetterstation'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.14
NAME 'pruefling'
DESC 'pruefling'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.15
NAME 'hwdinfo'
DESC 'Indikator fuer das Zusenden von Infodiensten'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.16
NAME 'hwddatum'
DESC 'Datum des zuletzt gesendeten Hinweisdienstes'
EQUALITY numericStringMatch
ORDERING caseIgnoreOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
)
attributetype ( 1.1.1.100.18
NAME 'hwd'
DESC 'Hinweisdienst'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.19
NAME 'zahlungsweise'
DESC 'zahlungsweise'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.20
NAME 'ktoinhaber'
DESC 'ktoinhaber'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.21
NAME 'ktostrasse'
DESC 'ktostrasse'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.22
NAME 'ktoplz'
DESC 'ktoplz'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.23
NAME 'ktoort'
DESC 'ktoort'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.24
NAME 'ktonr'
DESC 'ktonr'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.25
NAME 'blz'
DESC 'blz'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.26
NAME 'geldinstitut'
DESC 'geldinstitut'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.27
NAME 'productid'
DESC 'productid'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
attributetype ( 1.1.1.100.28
NAME 'schule'
DESC 'schule'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.29
NAME 'schulort'
DESC 'schulort'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)
attributetype ( 1.1.1.100.30
NAME 'schulende'
DESC 'schulende'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.1.1.200.1
NAME 'ioid'
DESC 'Objekt-Identifikation'
EQUALITY caseExactIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)


attributetype ( 1.1.1.200.2
NAME 'negativeRights'
DESC 'Bitmaske fuer Rechte'
EQUALITY numericStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
)


attributetype ( 1.1.1.200.3
NAME 'positiveRights'
DESC 'Bitmaske fuer Rechte'
EQUALITY numericStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
)

attributetype ( 1.1.1.200.4
NAME 'field'
DESC 'Zugeordnetes Feld'
EQUALITY caseExactIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)

attributetype ( 1.1.1.200.5
NAME 'service'
DESC 'Zugeordneter Dienst'
EQUALITY caseExactIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)

attributetype ( 1.1.1.300.1
NAME 'url'
DESC 'URL'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.1.1.300.4
NAME 'prognosetyp'
DESC 'Typ der Prognose'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
)

attributetype ( 1.1.1.300.3
NAME 'prognosevalue'
DESC 'Name Wert Paar'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.1.1.300.2
NAME 'relativeUrl'
DESC 'relative URL bezogen auf Applikation'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

attributetype ( 1.1.1.400.2
NAME 'importid'
DESC 'importId'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

objectclass ( 1.1.2.100.1
NAME 'user'
DESC 'Benutzer'
MUST (login $ password $ cn $ sn)
MAY (anrede $ country $ region $ division $ category $ company $ street $ streetnr $ zipcode $ location $ telephoneNumber $ fax $ mobile $ mail $ dienststelle $ wetterstation $ pruefling $ hwdinfo $ hwddatum $ hwd $ zahlungsweise $ ktoinhaber $ ktostrasse $ ktoplz $ ktoort $ ktonr $ blz $ geldinstitut $ productid $ importid $ schule $ schulort $ schulende)
)

objectclass ( 1.1.2.200.2
NAME 'right'
DESC 'Rechterepraesentant'
MUST (ioid $ positiveRights $ negativeRights)
MAY (field $ service)
)

objectclass ( 1.1.3.100.1
NAME 'role'
DESC 'Rolle'
MUST ( cn )
MAY ( description)
)

objectclass ( 1.1.4.100.1
NAME 'properties'
DESC 'Persoenliche Einstellungen des Benutzers'
MAY (url $ relativeUrl)
)

objectclass ( 1.1.4.100.2
NAME 'prognose'
DESC 'Prognose-Datensatz'
MUST (cn $ prognosetyp)
MAY (prognosevalue)
)