![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||
| |||||
|
|
Hi, We have a clustered SQL server 2000. I would like to know If it is possible to create SQL login for a local NT useraccount using windows |
|
I could successfully add a domain user account as SQL Login using windows authentication. But when I tried to add the Local windows NT user account as |
|
If anyone knows the answer please let me know. Thanks in advance. Srini |
#3
| ||||
| ||||
|
|
The error displayed is as follows 15401 Windows NT user or group LocalServerName\UserAccountName has not found. Check the name again. |
| I got a basic question here. When we have a clustered SQL server, we will have the instance of the SQL server/database running on each server which |
|
How did you add the local account? Is there a step-by-stepo instruction that I can use? |
|
Thanks, Srini "Rodney R. Fournier [MVP]" wrote: SQL allows you to create either a SQL login or re-use an already existing NT/AD account. More answer inline below... Cheers, Rod MVP - Windows Server - Clustering http://www.nw-america.com - Clustering "Srini" <Srini (AT) discussions (DOT) microsoft.com> wrote in message news:F36329F9-6CA9-41B4-9410-F60D812AC4D8 (AT) microsoft (DOT) com... Hi, We have a clustered SQL server 2000. I would like to know If it is possible to create SQL login for a local NT useraccount using windows authentication on that clustered server. And later I would like to use that login as a user for one of the databases. Yes, create the account under windows and then under Security - Logins in SQL. You can even browse for the user account to add. Use the third tab Database Access (of SQL Server Login Properties) to give DB access and grant a role as a user in that DB. Remember SQL has logins, DBs have users. I could successfully add a domain user account as SQL Login using windows authentication. But when I tried to add the Local windows NT user account as an SQL login, it comes back and says something like "Can not find the user..." Hmmmm, you should be able to add either a domain or local user account. I just did that on one of my SQL Clusters successfully. What is the error number in the event log? Do you have Admin rights on the box and SQL? If anyone knows the answer please let me know. Thanks in advance. Srini |
#4
| |||
| |||
|
|
Actually I did everytihng on my server. I picked the virtual instance and added the domain account to it as a login. That part is working fine. I was |
| Thanks. "Rodney R. Fournier [MVP]" wrote: First of all the SQL Book Online are wonderful. Very, very helpful. More answers below... Cheers, Rod MVP - Windows Server - Clustering http://www.nw-america.com - Clustering "Srini" <Srini (AT) discussions (DOT) microsoft.com> wrote in message news E45B74E-0D9D-469A-8D6F-B31B439FBDEC (AT) microsoft (DOT) com...The error displayed is as follows 15401 Windows NT user or group LocalServerName\UserAccountName has not found. Check the name again. It does not lie, the local user is not found. Create it in the Domain and then add it to SQL. If you use the local machine that could be a problem with failover, so always select a domain account. I have not tired using a lcoal clustered account for SQL. I got a basic question here. When we have a clustered SQL server, we will have the instance of the SQL server/database running on each server which are part of the cluster. So, when we add the userShould we pick the SQL server instance or local instance? You always use the Virtual Instance name. But in your case the user is from the Domain right? So pick the domain account. How did you add the local account? Is there a step-by-stepo instruction that I can use? I don't think you can add a local account, use a domain account. Maybe a SQL MVP will know for sure. The books online have the steps to adding a user. Thanks, Srini "Rodney R. Fournier [MVP]" wrote: SQL allows you to create either a SQL login or re-use an already existing NT/AD account. More answer inline below... Cheers, Rod MVP - Windows Server - Clustering http://www.nw-america.com - Clustering "Srini" <Srini (AT) discussions (DOT) microsoft.com> wrote in message news:F36329F9-6CA9-41B4-9410-F60D812AC4D8 (AT) microsoft (DOT) com... Hi, We have a clustered SQL server 2000. I would like to know If it is possible to create SQL login for a local NT useraccount using windows authentication on that clustered server. And later I would like to use that login as a user for one of the databases. Yes, create the account under windows and then under Security - Logins in SQL. You can even browse for the user account to add. Use the third tab Database Access (of SQL Server Login Properties) to give DB access and grant a role as a user in that DB. Remember SQL has logins, DBs have users. I could successfully add a domain user account as SQL Login using windows authentication. But when I tried to add the Local windows NT user account as an SQL login, it comes back and says something like "Can not find the user..." Hmmmm, you should be able to add either a domain or local user account. I just did that on one of my SQL Clusters successfully. What is the error number in the event log? Do you have Admin rights on the box and SQL ? If anyone knows the answer please let me know. Thanks in advance. Srini |
![]() |
| Thread Tools | |
| Display Modes | |
| |