File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
OLD /
2
2
* .old
3
+ .idea /
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ function mailbox_backup()
78
78
# ##############################################################################
79
79
function ldap_restore()
80
80
{
81
- ldapdelete -r -x -H " $LDAPSERVER " -D " $LDAPADMIN " -c -w " $LDAPPASS " \
82
- " $( grep ^dn: " $WORKDIR " /" $1 " /" $2 " .ldiff | awk ' print $2' ) " > /dev/null 2>&1
83
- ERR=$( (ldapadd -x -H " $LDAPSERVER " -D " $LDAPADMIN " \
81
+ ldapdelete -Z - r -x -H " $LDAPSERVER " -D " $LDAPADMIN " -c -w " $LDAPPASS " \
82
+ " $( grep ^dn: " $WORKDIR " /" $1 " /" $2 " .ldiff | awk ' { print $2} ' ) " > /dev/null 2>&1
83
+ ERR=$( (ldapadd -Z - x -H " $LDAPSERVER " -D " $LDAPADMIN " \
84
84
-c -w " $LDAPPASS " -f " $WORKDIR " /" $1 " /" $2 " .ldiff) 2>&1 )
85
85
BASHERRCODE=$?
86
86
if ! [[ $BASHERRCODE -eq 0 ]]; then
You can’t perform that action at this time.
0 commit comments