diff --git a/bin/schema2ldif b/bin/schema2ldif index 397cc1d95157f6f15047fb2b43875524e2a30162..7690548d7224ba59ed7e4f81c8d474945f6fcd1f 100755 --- a/bin/schema2ldif +++ b/bin/schema2ldif @@ -68,9 +68,9 @@ while (<>) { # objectIdentifier -> olcObjectIdentifier: # objectClass -> olcObjectClasses: # attributeType -> olcAttributeTypes: - s/objectidentifier/olcObjectIdentifier:/i; - s/attributetype/olcAttributeTypes:/i; - s/objectclass/olcObjectClasses:/i; + s/^objectidentifier/olcObjectIdentifier:/i; + s/^attributetype/olcAttributeTypes:/i; + s/^objectclass/olcObjectClasses:/i; # [openldap.ldif] # Then leading whitespace must be fixed. The slapd.conf format allows