Browse Source

Don't wrap lines in ldap backup Ref: #26141

2.6.2/master
Joël Cuissinat 8 months ago
parent
commit
943db1de4c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      schedule/scripts/annuaire

+ 1
- 1
schedule/scripts/annuaire View File

@@ -11,7 +11,7 @@ rm -f $LDAPSAVFILE
11 11
 mkdir -p $LDAPSAVDIR
12 12
 
13 13
 CreoleService slapd stop -c annuaire
14
-CreoleRun "slapcat -v -f /etc/ldap/slapd.conf" annuaire > $LDAPSAVFILE
14
+CreoleRun "slapcat -v -f /etc/ldap/slapd.conf -o ldif-wrap=no" annuaire > $LDAPSAVFILE
15 15
 slapd_error=$?
16 16
 CreoleService slapd start -c annuaire
17 17
 [ $slapd_error -ne 0 ] && exit 1

Loading…
Cancel
Save