Skip to content

Commit

Permalink
Merge upstream pullrequest 59 into develop
Browse files Browse the repository at this point in the history
Handle joining an OU with a space in the name ajjahn#59
  • Loading branch information
vStone committed Mar 1, 2022
2 parents ffee4d6 + 9834988 commit 97bc24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/configure_active_directory.erb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if [ "$action" = "join" ]; then
fi

logger -st $PROG "Joining AD domain" >&2
$NET ads $action -U "${winbind_acct}%${password}" ${ou_parameter} \
$NET ads $action -U "${winbind_acct}%${password}" "${ou_parameter}" \
| grep Joined && success=true || success=false

if [ $success = "false" ]; then
Expand Down

0 comments on commit 97bc24d

Please sign in to comment.