Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Computer: AD object should not be deleted when using PasswordPass and UnsecuredJoin options or JoinReadOnly option

オープン
#446 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
powershell

調査の方向性

Computer DomainJoin リソースから始め、Issue #447 の推奨ソリューションである pull request #447 を確認してください。AD コンピューター オブジェクトがすでに存在する場合に、PasswordPass、UnsecuredJoin、JoinReadOnly がどのように処理されるかを確認してください。完了の条件は、domain join を完了できるように既存のオブジェクトが保持されることです。

索引モデルが issue の本文から書いたものです。

説明

Problem description

When using PasswordPass and UnsecuredJoin options or JoinReadOnly option means AD computer object has been pre-created within Active Directory prior to domain join and should not be deleted

This combination of commands creates a new computer account with a predefined name and temporary join password in a domain using an existing domain-joined computer.

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/add-computer?view=powershell-5.1

Verbose logs
Current dsc resources is deleting AD computer object previously created so domain join is failing as it's expecting the computer object to exist already
DSC configuration
Computer DomainJoin
        {
            Name        = "server"
            Description = "Test Server"
            DomainName  = "contoso.com"
            Credential  = $Cred
            JoinOU      = "CN=Computers,DC=contoso,DC=com"
            Options     = @('PasswordPass','UnsecuredJoin ')
        }
Suggested solution

PR https://github.com/dsccommunity/ComputerManagementDsc/pull/447

Operating system the target node is running
NA
PowerShell version and build the target node is running
NA
ComputerManagementDsc version
v9.2.0
主要言語
PowerShell
スター
338
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dsccommunity/ComputerManagementDsc のほかの issue

dsccommunity/ComputerManagementDsc の issue をすべて見る

似ている issue

Operating Systems の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。