Skip to content

Commit

Permalink
Bugfix - LDAP restore was failing because the parameter position was …
Browse files Browse the repository at this point in the history
…wrong
  • Loading branch information
lucascbeyeler committed Feb 6, 2021
1 parent 9cc24e1 commit f857b73
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion project/zmbackup
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ case "$1" in
checkpid
case "$2" in
"-dl"|"--distributionlist"|"-ldp"|"--ldap"|"-al"|"--alias"|"-sig"|"--signature")
restore_main_ldap "$3" "$4" "$5"
case "$3" in
"-a"|"--account"|"-d"|"--domain")
restore_main_ldap "$4" "$5"
;;
* )
restore_main_ldap "$3" "$4"
;;
esac
rm -rf "$PID"
;;
"-m"|"--mail" )
Expand Down

0 comments on commit f857b73

Please sign in to comment.