add tweaks for initial whitespace that cause 389-ds to choke on the schema ldif
This commit is contained in:
parent
eab0a264a6
commit
b5f2ca0389
@ -221,7 +221,9 @@ cat > 60kerberos.ldif << EOF
|
||||
# This is a variation on kerberos.ldif which 389 Directory Server will like.
|
||||
dn: cn=schema
|
||||
EOF
|
||||
egrep -iv '(^$|^dn:|^changetype:|^add:)' $inldif >> 60kerberos.ldif
|
||||
egrep -iv '(^$|^dn:|^changetype:|^add:)' $inldif | \
|
||||
sed -r 's,^ , ,g' | \
|
||||
sed -r 's,^ , ,g' >> 60kerberos.ldif
|
||||
touch -r $inldif 60kerberos.ldif
|
||||
|
||||
# Rebuild the configure scripts.
|
||||
|
Loading…
Reference in New Issue
Block a user