Windows 7 で Null セッション共有が機能しない

Windows 7 で Null セッション共有が機能しない

Windows 7 SP 1 Ultimate(IP 192.168.11.100)を実行しているコンピュータがあります。ヌルセッションシェア(名前WIA_RIS_SHARE) のためにServa PXE サーバーネットワーク経由で Wi​​ndows XP をインストールできるようにします。

によるとそのドキュメント、 私が作成しました:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\NullSessionShares = "WIA_RIS_SHARE"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\restrictanonymous = 0

私はWindows XP SP3(IP 192.168.11.2)、問題なく動作するようです。

確認方法は次のとおりです (同じ LAN 上の別のコンピューターから):

C:\>net view \\192.168.11.2
Shared resources at \\192.168.11.2
Resource name           Type    Used ad Comments
-----------------------------------------------------------------------------
WIA_RIS_SHARE       Disk

しかし、Win7 マシンで確認すると次のようになります。

C:\>net view \\192.168.11.100
System error 5.
Access denied.

私の知る限り、Null Share Session では共有リソースの参照 (列挙) が可能になるはずなので、これは適切なテストだと思います。

他に何をすればいいでしょうかNullセッション共有を有効にするWindows 7 ではどうですか?

答え1

読んでないと思うServa の NSS ドキュメント正しく入力してください。ウィンドウズ7「章」です。

Windows 7でホストされるNSSの場合、クライアントはRISです表示される手順は次のとおりです。

1. Enabling Anonymous Logon:

   1. Run the Control Panel

   2. Navigate to:

   Network and Internet\Network and Sharing Center\Change advanced sharing settings\

   Select:

   Turn off password protected sharing

   3. Save changes and close the Control Panel.

2. Creating the Share:

    1. From File Explorer right click the TFTP root directory and select "Properties."

    2. Select the "Sharing" tab and click [Advanced Sharing...]

    3. Check "Share this folder", set "Share Name" = WIA_RIS_SHARE and click [Permissions]

    4. Remove all users/groups then add the user "Guest" with "Read" rights only and 
       click [OK] twice.

    5. Back at the Properties dialog now select the "Security" tab and click [Edit...]

    6. Click [Add..], enter the user "Guest" and click [OK]

    7. Selecting the user "Guest" at the "Group or user names:" pane edit its permissions 
       at the "Permissions for Guest" pane. Make sure you check the "Allow" column with 
       "Read & execute", "List folder contents" and, "Read" permissions, then click 
       [OK] twice.

念のため、クライアント用のNSSを作成してください(RIS以外)が「LANMAN1.0」、「LANMAN1.2」などの古い方言を必須としている場合、ホストでそれらの方言を有効にするために追加の手順が必要になる場合があります。

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\NullSessionShares = "WIA_RIS_SHARE"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\restrictanonymous = 0

あなたの場合、RIS クライアントを起動しているので、これらの追加手順は必要ありません...

関連情報