[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap newbie
Hi,
I'm very new to LDAP and I'm trying to extend the schema.
I'm using RH8 with openldap-2.0.25.
I've created a local.schema file and added an include line in the
slapd.conf file.
First things first, the daemon would not start- it seemed to have
problems with my schema definitions. I changed some things and the
daemon now starts without a problem but I would appreciate it if someone
would reassure me that I did the right thing.
The whole file is very long so here is the beginning of the original
schema file(the daemon would give errors on the first attribute
definition that wasn't changed to the new form:
=======================================
objectIdentifier jctOID 1.1
objectIdentifier jctLDAP jctOID:1
objectIdentifier jctAttrib jctLDAP:1
objectIdentifier jctObj jctLDAP:2
# Attribute Type Definitions
attributetype ( jctAttrib:0 NAME ( 'jctFullName' $ 'jctFN' )
DESC 'Full Name Associated with a Person'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{32768}
)
attributetype ( jctAttrib:1 NAME ( 'jctMisparZehut' $ 'jctTZ' )
DESC 'Identification Number associated with a person'
EQUALITY numericStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{32768}
SINGLE-VALUE
)
==================================================================
the error a schema like this produced was:
jct.schema: line 27: Expecting a name before 'jctFN' ) DESC
'Full Name Associated with a Person' EQUALITY caseIgnoreMatch SUBSTR
caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{32768}
AttributeTypeDescription = ....
Here is the current schema:
=======================================
objectIdentifier jctOID 1.1
objectIdentifier jctLDAP jctOID:1
objectIdentifier jctAttrib jctLDAP:1
objectIdentifier jctObj jctLDAP:2
# Attribute Type Definitions
attributeType = ( jctAttrib:0 NAME ( 'jctFullName' 'jctFN' )
DESC 'Full Name Associated with a Person'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{32768}
)
attributeType = ( jctAttrib:1 NAME ( 'jctMisparZehut' 'jctTZ' )
DESC 'Identification Number associated with a person'
EQUALITY numericStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{32768}
SINGLE-VALUE
)
====================================================================
This gets swallowed by the daemon but it isn't exactly the same sytax as
the other schema files, nor does it follow the extending schema examples
on the openldap website.
Any ideas?
Thanks in advance!
Yonah