Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Security - logins & default database

Author  Topic 

Korigami
Starting Member

9 Posts

Posted - 2009-02-19 : 07:44:28
Hi

I have set up a login for a database that is picking up a group of users and this has been setup with windows authentication.

However even though I've set the default database to be a particular database it is still pulling through as master.

Any ideas on how to sort this?

We have other servers with copies of this database on and they are able to pick up this group fine and log in with the correct default database.

Many thanks

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-02-19 : 12:17:39
Do they have access to those databases?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-02-19 : 12:29:33
What tool are they using where they go into master?

Also, make sure that they aren't members of any other groups inside SQL Server as they could be grabbing the default database from another group.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Korigami
Starting Member

9 Posts

Posted - 2009-02-23 : 06:00:20
Hi

Thank you for your responses - what do you mean do they have access to these databases - I am trying to set up the login at the moment?

The users are using SQL server management studio - and they are part of another group - but this has the same default database set up

Many thanks

K
Go to Top of Page

ahmad.osama
Posting Yak Master

183 Posts

Posted - 2009-02-25 : 07:16:21
quote:
Originally posted by Korigami

Hi

Thank you for your responses - what do you mean do they have access to these databases - I am trying to set up the login at the moment?

The users are using SQL server management studio - and they are part of another group - but this has the same default database set up

Many thanks

K


try restarting the sql services after setting the default db for the login....



Regards,
Ahmad Osama
Go to Top of Page

Korigami
Starting Member

9 Posts

Posted - 2009-02-26 : 03:52:49
Hi

I've tried restarting the sql services after setting the default db. Is it possible it could be to do with the server?

Many thanks

K
Go to Top of Page

ahmad.osama
Posting Yak Master

183 Posts

Posted - 2009-02-26 : 06:30:56
quote:
Originally posted by Korigami

Hi

I've tried restarting the sql services after setting the default db. Is it possible it could be to do with the server?

Many thanks

K



I dont have a logic behind it right now ...I can only say that it worked in my case....I'll find out ...

Regards,
Ahmad Osama
Go to Top of Page

Korigami
Starting Member

9 Posts

Posted - 2009-02-26 : 07:07:11
I have just checked a few things on the server, and can see that it is not as up to date as the other servers. So am currently downloading Service Patch 2 to install on the server. Hopefully will fix the problem but maybe not? I will keep you posted!

Cheers

K
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-02-26 : 12:38:26
Restarting the service will have no effect on this issue.


Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Korigami
Starting Member

9 Posts

Posted - 2009-03-05 : 09:21:16
still not having any joy with this - i've installed service pack 2 and still doesnt seem to be picking up the correct default db. any ideas anyone?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-03-05 : 13:07:01
It's picking it up from some group. You'll need to verify every single group that has access to the database server.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -