PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > SS authentication question
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SS authentication question

Réponse
 
LinkBack Outils de la discussion
Vieux 29/02/2008, 21h33   #1
Tina
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SS authentication question

My instance of SQL Server is, of course, setup for both Windows and sql
server authentication. This is not my question. I want to know how to ADD
A USER for a database using only sql server authentication. The add user
dialog always insist that the user be a local login.
T

"Hurme" <michael.geles@thomson.com> wrote in message
news:6497FB2A-B897-4576-9263-3C714E2D7D28@microsoft.com...
> You need to configure the server to use SQL Authentication.
>
> Im EM (2000) or SSMS(2005) right click on the server and choose
> properties.
> Click on Security and then SQL Server and Windows and then Ok.
>
> --
> MG
>
>
> "Tina" wrote:
>
>> I want to create a user that will use SQL Server Authentication to access
>> my
>> database. I am using Management Studio. If I try to add a user MS
>> insists
>> that it be a local logon. How do we create users that are not going to
>> be
>> authenticated by Windows?
>> Thanks,
>> T
>>
>>
>>


  Réponse avec citation
Vieux 27/03/2008, 21h54   #2
Tina
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SS authentication question

I want to create a user that will use SQL Server Authentication to access my
database. I am using Management Studio. If I try to add a user MS insists
that it be a local logon. How do we create users that are not going to be
authenticated by Windows?
Thanks,
T


  Réponse avec citation
Vieux 27/03/2008, 22h16   #3
Hurme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: SS authentication question

You need to configure the server to use SQL Authentication.

Im EM (2000) or SSMS(2005) right click on the server and choose properties.
Click on Security and then SQL Server and Windows and then Ok.

--
MG


"Tina" wrote:

> I want to create a user that will use SQL Server Authentication to access my
> database. I am using Management Studio. If I try to add a user MS insists
> that it be a local logon. How do we create users that are not going to be
> authenticated by Windows?
> Thanks,
> T
>
>
>

  Réponse avec citation
Vieux 28/03/2008, 02h27   #4
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SS authentication question

> I want to know how to ADD A USER for a database using only sql server
> authentication. The add user dialog always insist that the user be a
> local login.


You need to add the SQL login before you add the database user. You can
create both the server login and database user from the SSMS Object explorer
by right-clicking on the Logins node under Security and then select New
Login. The dialog allows you to create the new login as well as create the
database user (user mapping).

Alternatively, you can do this via script. For example:

USE MyDatabase
GO
CREATE LOGIN SomeLogin WITH PASSWORD = 'S0Mel0g1n';
CREATE USER SomeLogin;

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Tina" <TinaMSeaburn@nospamexcite.com> wrote in message
news:u5TwNJFkIHA.4940@TK2MSFTNGP02.phx.gbl...
> My instance of SQL Server is, of course, setup for both Windows and sql
> server authentication. This is not my question. I want to know how to
> ADD A USER for a database using only sql server authentication. The add
> user dialog always insist that the user be a local login.
> T
>
> "Hurme" <michael.geles@thomson.com> wrote in message
> news:6497FB2A-B897-4576-9263-3C714E2D7D28@microsoft.com...
>> You need to configure the server to use SQL Authentication.
>>
>> Im EM (2000) or SSMS(2005) right click on the server and choose
>> properties.
>> Click on Security and then SQL Server and Windows and then Ok.
>>
>> --
>> MG
>>
>>
>> "Tina" wrote:
>>
>>> I want to create a user that will use SQL Server Authentication to
>>> access my
>>> database. I am using Management Studio. If I try to add a user MS
>>> insists
>>> that it be a local logon. How do we create users that are not going to
>>> be
>>> authenticated by Windows?
>>> Thanks,
>>> T
>>>
>>>
>>>

>


  Réponse avec citation
Vieux 29/03/2008, 01h26   #5
Tina
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SS authentication question

This has been a point of confusion because I have heard this before but
there is no "login" node under security in the object explorer of SSMS.
There is just Users, Roles, Schemas, Asymmetric Keys, Certificates, and
Symmetric Keys. No Logins.

Maybe there is no way to create a sql server login in SSMS?
T


"Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> wrote in message
news:A1E516AB-A168-4ECD-8F9A-95CE7E4075D7@microsoft.com...
>> I want to know how to ADD A USER for a database using only sql server
>> authentication. The add user dialog always insist that the user be a
>> local login.

>
> You need to add the SQL login before you add the database user. You can
> create both the server login and database user from the SSMS Object
> explorer by right-clicking on the Logins node under Security and then
> select New Login. The dialog allows you to create the new login as well
> as create the database user (user mapping).
>
> Alternatively, you can do this via script. For example:
>
> USE MyDatabase
> GO
> CREATE LOGIN SomeLogin WITH PASSWORD = 'S0Mel0g1n';
> CREATE USER SomeLogin;
>
> --
> Hope this s.
>
> Dan Guzman
> SQL Server MVP
> http://weblogs.sqlteam.com/dang/
>
> "Tina" <TinaMSeaburn@nospamexcite.com> wrote in message
> news:u5TwNJFkIHA.4940@TK2MSFTNGP02.phx.gbl...
>> My instance of SQL Server is, of course, setup for both Windows and sql
>> server authentication. This is not my question. I want to know how to
>> ADD A USER for a database using only sql server authentication. The add
>> user dialog always insist that the user be a local login.
>> T
>>
>> "Hurme" <michael.geles@thomson.com> wrote in message
>> news:6497FB2A-B897-4576-9263-3C714E2D7D28@microsoft.com...
>>> You need to configure the server to use SQL Authentication.
>>>
>>> Im EM (2000) or SSMS(2005) right click on the server and choose
>>> properties.
>>> Click on Security and then SQL Server and Windows and then Ok.
>>>
>>> --
>>> MG
>>>
>>>
>>> "Tina" wrote:
>>>
>>>> I want to create a user that will use SQL Server Authentication to
>>>> access my
>>>> database. I am using Management Studio. If I try to add a user MS
>>>> insists
>>>> that it be a local logon. How do we create users that are not going to
>>>> be
>>>> authenticated by Windows?
>>>> Thanks,
>>>> T
>>>>
>>>>
>>>>

>>

>


  Réponse avec citation
Vieux 29/03/2008, 14h08   #6
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SS authentication question

> Maybe there is no way to create a sql server login in SSMS?

It seems you are viewing the database security node (Database-->Security)
rather than the server security node (Server-->Security). The server
Security node contains the server-level security objects Logins, Server
Roles and Credentials. You can also use the Server security node to map
logins to users and assign database role memberships.

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Tina" <TinaMSeaburn@nospamexcite.com> wrote in message
news:uoh5bOTkIHA.5160@TK2MSFTNGP05.phx.gbl...
> This has been a point of confusion because I have heard this before but
> there is no "login" node under security in the object explorer of SSMS.
> There is just Users, Roles, Schemas, Asymmetric Keys, Certificates, and
> Symmetric Keys. No Logins.
>
> Maybe there is no way to create a sql server login in SSMS?
> T
>
>
> "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> wrote in message
> news:A1E516AB-A168-4ECD-8F9A-95CE7E4075D7@microsoft.com...
>>> I want to know how to ADD A USER for a database using only sql server
>>> authentication. The add user dialog always insist that the user be a
>>> local login.

>>
>> You need to add the SQL login before you add the database user. You can
>> create both the server login and database user from the SSMS Object
>> explorer by right-clicking on the Logins node under Security and then
>> select New Login. The dialog allows you to create the new login as well
>> as create the database user (user mapping).
>>
>> Alternatively, you can do this via script. For example:
>>
>> USE MyDatabase
>> GO
>> CREATE LOGIN SomeLogin WITH PASSWORD = 'S0Mel0g1n';
>> CREATE USER SomeLogin;
>>
>> --
>> Hope this s.
>>
>> Dan Guzman
>> SQL Server MVP
>> http://weblogs.sqlteam.com/dang/
>>
>> "Tina" <TinaMSeaburn@nospamexcite.com> wrote in message
>> news:u5TwNJFkIHA.4940@TK2MSFTNGP02.phx.gbl...
>>> My instance of SQL Server is, of course, setup for both Windows and sql
>>> server authentication. This is not my question. I want to know how to
>>> ADD A USER for a database using only sql server authentication. The add
>>> user dialog always insist that the user be a local login.
>>> T
>>>
>>> "Hurme" <michael.geles@thomson.com> wrote in message
>>> news:6497FB2A-B897-4576-9263-3C714E2D7D28@microsoft.com...
>>>> You need to configure the server to use SQL Authentication.
>>>>
>>>> Im EM (2000) or SSMS(2005) right click on the server and choose
>>>> properties.
>>>> Click on Security and then SQL Server and Windows and then Ok.
>>>>
>>>> --
>>>> MG
>>>>
>>>>
>>>> "Tina" wrote:
>>>>
>>>>> I want to create a user that will use SQL Server Authentication to
>>>>> access my
>>>>> database. I am using Management Studio. If I try to add a user MS
>>>>> insists
>>>>> that it be a local logon. How do we create users that are not going
>>>>> to be
>>>>> authenticated by Windows?
>>>>> Thanks,
>>>>> T
>>>>>
>>>>>
>>>>>
>>>

>>

>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h40.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14697 seconds with 14 queries