DefaultLogonDomain
In Web, FTP, and NNTP servers, the DefaultLogonDomain property is used to specify (in a Web hosting scenario where UserIsolationMode = 2), the default domain that the server uses to authenticate users. If the value of DefaultLogonDomain is not specified, the default domain will be the domain name controlled by the computer, if the computer is a domain controller. If the computer is not a domain controller, the default domain will be the computer name.
In the case of FTP, IIS uses this domain name to query the corresponding Active Directory (AD) for the two properties required for each user in the Web hosting scenario: msIIS-FTPRoot and msIIS-FTPDir.
Attribute Name | Attribute Value |
---|---|
XML Data Type | String |
WMI Data Type |
String
|
ADSI Data Type | String |
ABO Data Type | String |
ABO Metabase identifier |
MD_DEFAULT_LOGON_DOMAIN
|
Attributes | INHERIT |
Default Value | null |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_FILE |
StartingNumber | Not applicable |
EndingNumber | Not applicable |
ID | 6012 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
/LM/W3SVC/n | IIsWebServer |
/LM/MSFTPSVC/n | IIsFtpServer |
/LM/W3SVC | IIsWebService |
/LM/MSFTPSVC | IIsFtpService |
/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name |
IIsWebFile |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
/LM/SMTPSVC | IIsSmtpService |
/LM/SMTPSVC/n | IIsSmtpServer |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties