Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I tried putting the following LDIF file in Apache Directory Studio, but it complained that the record must end with an empty line. Do you know why?

dn: CN=serialNumber,CN=Schema,CN=Configuration,DC=myorg,DC=com
changetype: ntdsSchemaAdd
lDAPDisplayName: serialNumber
adminDisplayName: serialNumber
description: Token serial number
oMSyntax: 64
isMemberOfPartialAttributeSet: FALSE
isSingleValued: TRUE
searchFlags: 0
objectClass: attributeSchema
attributeID: 1.2.840.113556.1.8000.2554.56278.0.46625.19000.45599.15687267.6686356.2.1
schemaIDGUID:: 3U7SiIq9SByhs/i1Z6fEsw==
share|improve this question

1 Answer 1

The LDIF specification (RFC 2849) says that a line must end with a new line character (CR or LF).

BTW: the changetype ntdsSchemaAdd isn't supported by Apache Directory Studio. Only standard changetypes (add, modify, delete, moddn) are supported.

share|improve this answer
But how can a line not end with a new line character? Is this something to do with the different new line standards across platforms? –  Casebash Feb 16 '10 at 22:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.