Skip to content

Commit

Permalink
fix an additional machine account creation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stgmsa committed Feb 18, 2025
1 parent 0536433 commit d88b06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pf/UnifiedApi/Controller/Config/Domains.pm
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,13 @@ sub update {
return 0;
}

$new_data->{machine_account_password} = md4_hex(encode("utf-16le", $new_data->{machine_account_password}));
$new_data->{ou} = $new_item->{ou}
}
else {
$new_data->{ou} = $old_item->{ou}
}
}
$new_data->{machine_account_password} = md4_hex(encode("utf-16le", $new_data->{machine_account_password}));

$new_data->{server_name} = $computer_name;
delete $new_data->{id};
Expand Down

0 comments on commit d88b06c

Please sign in to comment.