メインコンテンツまでスキップ

廃止された options コマンド cifs.restrict_anonymous.enable と cifs.restrict_anonymous の違いは何ですか。

Views:
9
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot<a>翻訳の場合</a>
Last Updated:

環境

Data ONTAP 7 以前

回答

optionscifs.restrict_anonymous.enableコマンドは、廃止されたと表示します。

どちらのコマンドを実行してもcifs.restrict_anonymousオプションは変更されます。以下はその仕組みを理解するのに役立ちます。

options cifs.restrict_anonymous.enable 次のメッセージが表示されます。

<on >
options cifs.restrict_anonymous 1このオプションは廃止されました。代わりにを使用してください。
このオプションに指定できる値
は 0 です。特別な制限
事項 1 はありません。列挙
は制限されています 2.アクセスが完全に制限されています

<off>
options cifs.restrict_anonymous 0このオプションは廃止されました。代わりにを使用してください。
このオプションに指定できる値
は 0 です。特別な制限
事項 1 はありません。列挙
は制限されています 2.アクセスが完全に制限されています

オプションをcifs.restrict_anonymous.enable直接変更した結果、オプションが変更されたことがわかります。

オン
FILER>options cifs.restrict
cifs.restrict_anonymous 0
cifs.restrict_anonymous.enable off
FILER>
FILER>
FILER>options cifs.restrict_anonymous.enable on
This option is deprecated; using 'options cifs.restrict_anonymous 1' instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted
FILER>
FILER>
FILER>options cifs.restrict
cifs.restrict_anonymous 1
cifs.restrict_anonymous.enable on
FILER>

オフ
FILER>options cifs.restrict
cifs.restrict_anonymous 1
cifs.restrict_anonymous.enable on
FILER>
FILER>
FILER>options cifs.restrict_anonymous.enable off
This option is deprecated; using 'options cifs.restrict_anonymous 0' instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted
FILER>
FILER>
FILER>options cifs.restrict
cifs.restrict_anonymous 0
cifs.restrict_anonymous.enable off
FILER>

オプションcifs.restrict_anonymousを 2 に変更できるのは、非推奨の options コマンドだけです。

追加情報

N/A

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.