Select the product you need help with
Алгоритмы проверки доступа к сети и примеры для Windows Server 2003, Windows XP и Windows 2000Код статьи: 103390 - Список продуктов, к которым относится данная статья. На этой странице Ниже приведен упрощенный алгоритм, который объясняет, как
Наблюдаемое Проверка учетной записи Windows для работы во время доступа к сети с использованием
протокол NTLM. При использовании доступа через блок сообщений сервера (SMB)
протокол, как в примере, но применяется для всех серверных приложений,
поддерживает проверку подлинности NTLM. Это обсуждение не охватывает внутренний
работой этого процесса. С этой информацией можно прогнозировать Windows
сетевой вход в систему поведение детерминированные условиях. При использовании Kerberos для проверки подлинности пользователя и получения
доступ к ресурсам сервера, этот процесс сильно отличается от чего NTLM.
Для получения дополнительных сведений посетите следующий веб-узел Microsoft TechNet Web: http://technet2.Microsoft.com/WindowsServer/en/Library/f5c70774-25cd-4481-8b7a-3d65c86e69b11033.mspx Помните, что локальной базы данных в базу данных домена и
только базы данных на контроллерах домена. Но на других серверах и все
компьютеры, локальной базы данных отличается от контроллера домена.
(http://technet2.microsoft.com/WindowsServer/en/Library/f5c70774-25cd-4481-8b7a-3d65c86e69b11033.mspx)
Общие сведенияКогда два окна Компьютеры под управлением Server 2003, под управлением Windows XP или операционной системой Windows 2000 При связи по сети, они используют высокоуровневые протокол, называемый блока сообщений сервера (SMB). Встроенные команды SMB в транспортные протоколы, такие как NetBIOS Расширенный пользовательский интерфейс (NetBEUI) или ПРОТОКОЛ TCP/IP. Например, когда клиентский компьютер выполняет NET USE команда отправляется фрейм «SMB сеанса настройки и X».В Windows, сеанс» Программа установки» SMB включает учетную запись пользователя, хэш-функции зашифрованный пароль и домен входа. Домен контроллер Рассмотрим эти сведения для определения, имеет ли клиент разрешения для выполнения NET USE команда. АлгоритмыКлиентский компьютер Windows отправляет следующую команду на сервере:NET USE x: \\server\share Сервер проверяет имя домена или имя компьютера, заданное посредством SMB. Если имя является именем сервера, запустите следующий алгоритм:
It checks its own domain database or computer database for
a matching account.
If it finds a matching account then
The SMB password is compared to the domain database password or the computer database password.
If the password matches then
The command completed successfully.
If the password does NOT match then
The user is prompted for a password.
The password is retested as above.
System error 1326 has occurred. Logon failure: unknown
user name or bad password.
End
If it does NOT find the account in the domain Security Accounts Manager (SAM) database or computer SAM database then
Guest permissions are tested.
If the guest account is enabled
The command completed successfully.
If the guest account is disabled
(* See Note a).
The user is prompted for a password.
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
The server will do pass-through authentication. The
network logon request will be sent to a server that has a domain controller role in the
specified trusted domain.
The trusted domain controller checks its own domain database
for a matching account.
If the trusted domain controller finds a matching account, then
NOT for Windows 2000 and later versions:
It determines whether the account is a local or global account.
If the account is local, then
Guest permissions on the original server are tested.
If the guest account is enabled
The command completed successfully.
If the guest account is disabled
(* See Note a) The user is prompted for a password.
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
If the account is global (the only option for Active Directory)
The SMB password is compared to the domain database
password.
If the password matches, then
The command completed successfully.
(* See Note b)
If the password does NOT match, then
The user is prompted for a password.
The password is retested as above.
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
If the trusted domain controller does NOT find the account in the trusted domain controller
database, then
Guest permissions are tested on the original server, not the trusted domain. (* See Note c)
If the guest account is enabled
The user will have original server guest access.
The command completed successfully.
If the guest account is disabled
(* See Note a) The user is prompted for a password.
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
It will check its own account database for
a matching account
If the server finds a matching account, then
The SMB password is compared to the domain database password or the computer database password.
If the password matches, then
The command completed successfully.
If the password does NOT match, then
The user is prompted for a password.
The password is retested as above.
System error 1326 has occurred. Logon failure: unknown
user name or bad password.
End
If it does NOT find the account in the domain database then
guest permissions are tested.
If the guest account is enabled
The command completed successfully.
If the guest account is disabled
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
The server will treat this a local network logon. The server
will test for a matching account in its own database.
If it finds a matching account, then
The SMB password is compared to the SAM database password.
If the password matches, then
The command completed successfully.
If the password does NOT match, then
The user is prompted for a password.
The password is retested as above.
System error 1326 has occurred. Logon failure: unknown
user name or bad password.
End
If it does NOT find the account in the local SAM database AND
LsaLookupRestrictIsolatedNameLevel=0, then (* See Note d)
The server will simultaneously ask each domain that it trusts whether it has account that
matches the SMB account.
The first trusted domain to reply is sent a request to
perform pass-through authentication of the client
information.
The trusted domain will look in its own database.
If an account that matches the SMB account is found, then
The trusted domain determines whether the account is a local or global
account.
Not for Windows 2000 and later versions:
If the account is local then
Guest permissions on the original server are tested.
If the guest account is enabled
The command completed successfully.
If the guest account is disabled
The user will be prompted for a password.
Regardless of what password is entered, the user will receive
"Error 5: Access has been denied."
End
If the account is global (the only option for Active Directory)
The password that was specified in the SMB is compared
to the SAM database password.
If the password matches, then
The command completed successfully.
If the password does NOT match, then
The user is prompted for a password.
The password is retested as above.
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
If no trusted domains respond to the request to identify the
account, then
Guest permissions are tested on the original server,
not the trusted server.
If the guest account is enabled
The command completed successfully.
If the guest account is disabled
System error 1326 has occurred. Logon failure:
unknown user name or bad password.
End
Заметки
ПримерыНиже приведены примеры этих алгоритмов в действии.Пример 1.Вы вошли в систему с использованием того же имени учетной записи и пароль в базе данных учетных записей домена ДОМЕНА САМОСТОЯТЕЛЬНО. Когда вы запустить NET USE \\SCRATCH Команда для контроллера домена для домена НУЛЯ ДОМЕНА Команда выполнена успешно. При запуске NET USE \\NET Команда для контроллера домена, которому доверяет домен НУЛЯ домен, появляется следующее сообщение об ошибке:Система
1326 произошла ошибка. Ошибка входа в систему: неизвестное имя пользователя или неверный
пароль. Примечание В этом примере предполагается, что следующие параметры конфигурации. Конфигурации Компьютер с локальным администратором безопасности. -Login account: USER1 -Password: PSW1 -Login Domain: LOCAL1
-Server Name: NET</WWITEM>
-Domain: NET-DOMAIN</WWITEM>
-Trust: NET-DOMAIN Trust SCRATCH-DOMAIN (Therefore,
accounts on SCRATCH-DOMAIN can be granted permissions
in the NET- DOMAIN).
-Server Name: SCRATCH -Domain: SCRATCH-DOMAIN -Domain Database contains account: USER1 -Domain Database contains password: PSW1 Пример 2.При запуске NET USE x: \\NET\share команды выполняются следующие действия:
Пример 3При запуске NET USE x: \\SCRATCH\shareкоманды выполняются следующие действия:
Идеально подходит решением является использование журнала всех компьютеров в домен. Чтобы войти в систему, пользователь должен указать домен, учетная запись и пароль. После этого, все NET USE-Тип команды передаст правильный домен учетной записи и пароль сведения. Администраторам следует избегать повторяющиеся учетные записи на обоих компьютеры и несколько доменов. Windows Server 2003 под управлением, управлением Windows XP, а также компьютеры под управлением Windows 2000 помогают избежать этой конфигурации с помощью доверительные отношения между доменами и по с помощью элементов, которые можно использовать базы данных домена. Временное решениеОдин метод, который может быть использован в этих случаях не существует. Из компьютер, можно выполнить следующую команду:NET USE X: \\NET\SHARE /USER:SCRATCH-PSW1 ДОМЕН\ПОЛЬЗОВАТЕЛЬ1 В этой команде выполните true:
- \\NET = The computer name of the domain controller being accessed.
- \SHARE = The share name.
- /USER: command line parameter that lets you specify the domain,
account and password that should be specified in the "Session Setup"
SMB.
- SCRATCH-DOMAIN = Domain name of the domain where the user
account resides.
- \USER1 = account to be validated against.
- PSW1 = password that matches account on the domain.
NET USE /? Значение NULL, доменные именаMicrosoft SMB клиент, в Windows Server 2003, Windows XP и Windows 2000 домена передает значение NULL имена в сеансе" Настройки протокола SMB [x 73]" SMB. В Корпорация Майкрософт SMB-клиент обрабатывает имя домена, указав имя домена для входа, а также по Отправка символ NULL, если имя домена не указано в NET USE команда. В Microsoft SMB-клиент также вызывают необычное поведение описывается в примере 1.Заметки
Устранение неполадокХороший совет для устранения неполадок сетевого доступа – Включение аудита следующим образом.Windows 2000 и более поздних версиях контроллеры домена под управлением Windows 2000
Настройка домена для серверов Windows 2000 и члены
Локальные параметры для серверов Windows 2000 и члены
Для получения дополнительных сведений о доверительных отношениях сквозную проверку подлинности разрешения пользователей и учетных записей домена содержатся в разделе «Технический обзор служб Windows Server 2003 безопасности.» Для этого посетите следующий веб-узел корпорации Майкрософт: http://www.Microsoft.com/windowsserver2003/techinfo/Overview/Security.mspx
(http://www.microsoft.com/windowsserver2003/techinfo/overview/security.mspx)
СвойстваКод статьи: 103390 - Последнее изменение :: 1 июня 2011 г. - Редакция: 6.0 Информация в данной статье относится к следующим продуктам.
Переведено с помощью машинного перевода ВНИМАНИЕ! Перевод данной статьи был выполнен не человеком, а с помощью программы машинного перевода, разработанной корпорацией Майкрософт. Корпорация Майкрософт предлагает вам статьи, переведенные как людьми, так и средствами машинного перевода, чтобы у вас была возможность ознакомиться со статьями базы знаний KB на родном языке. Однако машинный перевод не всегда идеален. Он может содержать смысловые, синтаксические и грамматические ошибки, подобно тому как иностранец делает ошибки, пытаясь говорить на вашем языке. Корпорация Майкрософт не несет ответственности за неточности, ошибки и возможный ущерб, причиненный в результате неправильного перевода или его использования. Корпорация Майкрософт также часто обновляет средства машинного перевода. Эта статья на английском языке:103390
(http://support.microsoft.com/kb/103390/en-us/
)
| Переводы статьи
|




Перейти к началу страницы








