x
login about faq Site discussion (meta-askssc)

Security Configuration on SQL2008 Mirror

Is there a way to see the security configuration of existing mirrored databases? I need to re-mirror these databses and so I need to know if Windows autentication has been used or Sql-server autentication.

Any answer would be helpfull Regards Hugo

more ▼

asked Sep 04 '12 at 06:24 AM in Default

hugo gravatar image

hugo
10 1 1

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first
SELECT SERVERPROPERTY('IsIntegratedSecurityOnly')

That'll return an INT:

  • 1 = Integrated security (Windows Authentication)
  • 0 = Not integrated security. (Both Windows Authentication and SQL Server Authentication.)

See SERVERPROPERTY documentation

more ▼

answered Sep 04 '12 at 07:57 AM

ThomasRushton gravatar image

ThomasRushton ♦
29.5k 6 9 36

@hugo as you can see the security mode is set at server level and not at database level - and mirroring is a database level option, so the answer will be the same for all the mirrored databases

Sep 04 '12 at 08:34 PM Kev Riley ♦♦
(comments are locked)
10|1200 characters needed characters left

Mirroring endpoints security is configured either through Windows IDs or Certificates.

To determine what authentication your endpoints are using run the following: SELECT * FROM sys.database_mirroring_endpoints

Look under the connection_auth_desc column for endpoint authentication type.

more ▼

answered Sep 05 '12 at 12:21 PM

Blackhawk-17 gravatar image

Blackhawk-17
10.5k 23 29 34

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x145
x33
x29

asked: Sep 04 '12 at 06:24 AM

Seen: 387 times

Last Updated: Sep 05 '12 at 12:21 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.