Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

The LDIF specification (RFC 2849) says that a line must end with a new line character (CR or LF). There must be a blank line after each record since this is how they are delimited.

By the way: 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.