![]() |
Модераторы: Akina |
![]() ![]() ![]() |
|
asmodeus |
|
|||
Новичок Профиль Группа: Участник Сообщений: 14 Регистрация: 1.3.2006 Репутация: 1 Всего: 1 |
доброго всем настроения
пишу программу. в ней есть такой пункт: Программа должна проверить, что в MS SQL Server 2000 аутентификация проводиться средствами ОС Windows 2000 и если это не так, то исправить это. как ето можно сделать ?? есть ли какая нить таблица системная или процедура? подскажите. ![]() Это сообщение отредактировал(а) asmodeus - 26.6.2006, 09:16 |
|||
|
||||
asmodeus |
|
|||
Новичок Профиль Группа: Участник Сообщений: 14 Регистрация: 1.3.2006 Репутация: 1 Всего: 1 |
так, как получить я уже нашел.
теперь вопрос стал такой: как поменять действующую авторизацию SQL server-а |
|||
|
||||
Mephisto |
|
|||
![]() Волкъ ![]() ![]() ![]() Профиль Группа: Завсегдатай Сообщений: 1818 Регистрация: 27.8.2003 Где: Питер Репутация: 1 Всего: 34 |
Что именно? Под каким логином Server запускаеться, или саму регистрацию? Если регистрацию, то заходишь в Enterprise Manager->Microsoft SQL Servers->SQL Server Group далее правой кнопкой на зарегестрированном сервере и Edit SQL Server Registration Properties.
|
|||
|
||||
asmodeus |
|
|||
Новичок Профиль Группа: Участник Сообщений: 14 Регистрация: 1.3.2006 Репутация: 1 Всего: 1 |
все. тема закрыта.
все нашел ![]() Добавлено @ 13:58 to Mephisto . мне над было с помощью процедур иль еще как. изменить авторизацию в SQL server-е |
|||
|
||||
asmodeus |
|
|||
Новичок Профиль Группа: Участник Сообщений: 14 Регистрация: 1.3.2006 Репутация: 1 Всего: 1 |
если кому т будет интересно. авторизацию можно изменить в реестре.
(mixed или windows) вот тут нашел (http://support.microsoft.com/default.aspx?...;en-us;325022#9) _____________________________________________________________________________ Turn on Mixed Mode Authentication after you install MSDE Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. By default, the value of the LoginMode Windows registry subkey is set to 1 for Windows Authentication. To turn on Mixed Mode authentication after you install MSDE, you must change this value to 2. The location of the LoginMode subkey depends on whether you installed MSDE as the default MSDE instance or as a named instance.• If you installed MSDE as the default instance, the LoginMode subkey is located in the following registry subkey: HKLM\Software\Microsoft\MSSqlserver\MSSqlServer\LoginMode • If you installed MSDE as a named instance, the LoginMode subkey is located in the following registry subkey: HKLM\Software\Microsoft\Microsoft SQL Server\Instance Name \MSSQLServer\LoginMode To change the value of LoginMode to 2, follow these steps:1. In Control Panel, open the Services tool, and then stop MSSQLSERVER and all other related services (such as SQLSERVERAgent). 2. On the Start menu, click Run, type regedt32, and then click OK to start Registry Editor. 3. Locate either of the following subkeys (depending on whether you installed MSDE as the default MSDE instance or as a named instance):• HKEY_LOCAL_MACHINE\Software\Microsoft\MSSqlserver\MSSqlServer\ -or- • HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\Instance Name\MSSQLServer\ 4. In the right pane, double-click the LoginMode subkey. 5. In the DWORD Editor dialog box, set the value of this subkey to 2, verify that the Hex option is selected, and then click OK. 6. Restart the MSSQLSERVER service and the SQLSERVERAgent service for this change to take effect. _____________________________________________________________________________ а посмотреть можно вот етой процедуркой: exec master..xp_loginconfig 'login mode' |
|||
|
||||
![]() ![]() ![]() |
Правила форума "MS SQL" | |
|
Запрещается! Публиковать ссылки и обсуждать взлом чего бы то ни было.
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Zloxa, Akina. |
1 Пользователей читают эту тему (1 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | MS SQL Server | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |