On Tue, 20 Nov 2007, Chun Tat David Chu wrote:
Below is my schema
dn: cn=schema
objectClass: top
objectClass: ldapSubentry
objectClass: subschema
cn: schema
attributeTypes: ( testAttribute_1 NAME 'testAttribute_1'
DESC 'This is testAttribute_1'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
X-ORIGIN 'user defined'
)
attributeTypes: ( testAttribute_1 NAME 'testAttribute_2'
DESC 'This is testAttribute_2'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
MULTI-VALUE
X-ORIGIN 'user defined'
)
Is the OID that I defined is invalid? If so what's the best way to
generate a OID? or that's something wrong in my LDIF?
No, the problem is that you haven't defined an OID at all.