I'm trying to add my own schema to OpenLDAP, but when I convert .schema -> .ldif using slaptest, there's nothing in the destination directory except for some default schemas. Mine is not being created. I added the path to slapd.conf. I'm creating the .schema file via Apache Directory Studio:
attributetype ( 2.0.0.0.1
NAME 'objectName'
DESC ''
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 2.0.0.0.2
NAME 'editableObject'
DESC ''
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
USAGE userApplications )
attributetype ( 2.0.0.0.3
NAME 'mailDesc'
DESC ''
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
USAGE userApplications )
attributetype ( 2.0.0.0.4
NAME 'visibleObject'
DESC ''
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
USAGE userApplications )
attributetype ( 2.0.0.0.5
NAME 'objectDesc'
DESC ''
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
USAGE userApplications )
objectclass ( 2.0.0.1.1
NAME 'myObject'
DESC ''
SUP top
AUXILIARY
MAY ( objectName $ objectDesc ) )
objectclass ( 2.0.0.1.2
NAME 'myRole'
DESC ''
AUXILIARY
MAY ( editableObject $ visibleObject ) )
objectclass ( 2.0.0.1.3
NAME 'myUser'
DESC ''
AUXILIARY
MAY ( editableObject $ visibleObject $ mailDesc ) )
Do you have any ideas why there is no .ldif file?