Vserver : Storage > Quotas : Understanding quotas : How you specify a Windows domain using the QUOTA_TARGET_DOMAIN directive
How you specify a Windows domain using the QUOTA_TARGET_DOMAIN directive
Using the QUOTA_TARGET_DOMAIN directive in the quotas file enables you to specify the domain name only once for a group of Windows users.
The QUOTA_TARGET_DOMAIN directive takes an optional argument. This string, followed by a backslash (\), is prepended to the name specified in the quota entry. Data ONTAP stops adding the domain name when it reaches the end of the quotas file or another QUOTA_TARGET_DOMAIN directive.
Example 2.
Example
The following example illustrates the use of the QUOTA_TARGET_DOMAIN directive:
QUOTA_TARGET_DOMAIN corp
roberts user@/vol/vol2 900M 30K
smith user@/vol/vol2 900M 30K
QUOTA_TARGET_DOMAIN engineering
daly user@/vol/vol2 900M 30K
thomas user@/vol/vol2 900M 30K
QUOTA_TARGET_DOMAIN
stevens user@/vol/vol2 900M 30K
The string corp\ is added as a prefix to the user names of the first two entries. The string engineering\ is added as a prefix to the user names of the third and fourth entries. The last entry is unaffected by the QUOTA_TARGET_DOMAIN entry because the entry contains no argument.
The following entries produce the same effects:
corp\roberts user@/vol/vol2 900M 30K
corp\smith user@/vol/vol2 900M 30K
engineering\daly user@/vol/vol2 900M 30K
engineering\thomas user@/vol/vol2 900M 30K
stevens user@/vol/vol2 900M 30K
Was this topic helpful? Send
comments
to NetApp.