Re: Domain group accounts

From: Owe Armandt (owe_at_armandt.se)
Date: 10/06/05

  • Next message: Sue Hoegemeier: "Re: Lost DTS Password"
    Date: Thu, 6 Oct 2005 21:42:21 +0200
    
    

    I helped a bit, I will test further tomorrow.

    I found out that I (my windows account) happend to be owner of the database.
    I have now changed the owner to 'sa' and then I get access only if the group
    I belong to is set to have DB access.

    One thing bothers me though, my college do not belong to any group that has
    access to any database and still he could access the database that I was the
    owner of.
    I don't think he is part of admin ro anything, we try to kep our avccounts
    clear in order to be as alike the users account as possible.

    This is what I will try to check out tomorrow - I will be back tomorrow with
    some info

    Owe

    "Dan Guzman" <guzmanda@nospam-online.sbcglobal.net> skrev i meddelandet
    news:OzfN9jnyFHA.464@TK2MSFTNGP15.phx.gbl...
    > Try running xp_logininfo to report the permission path(s) for the account.
    > For example
    >
    > EXEC master..xp_logininfo 'MyDomain\Test', 'all'
    >
    > For a Windows authenticated user to gain access to a database, one of the
    > following must be true:
    >
    > - the account was granted database access
    >
    > - the account is member of a Windows group than was granted database
    > access
    >
    > - the account is the database owner
    >
    > - the account is a member of a sysadmin fixed server role
    >
    > - the guest account is enabled in the database
    >
    > --
    > Hope this helps.
    >
    > Dan Guzman
    > SQL Server MVP
    >
    > "Owe Armandt" <owe.armandt@visma.se> wrote in message
    > news:ugQDkVnyFHA.2696@TK2MSFTNGP10.phx.gbl...
    >>I have a problem with database access that I would like to sort out.
    >>
    >> 1. I gave a Windows 2003 server with SQL 2000 (SP3)
    >> 2. I decided to create different Windows Groups and add Windows accounts
    >> to them to access different databases
    >> 3. This is where it starts giving me problem
    >> 4. I noticed that user belonging to one group (ie. database1 access) also
    >> had access to database2
    >> 4. To test this I created a group called Test and addedd this to
    >> Security/logins in Enterprise Manager and assigned this group access to
    >> database1
    >> 5. I placed my own account into this group and that gave me access to all
    >> other databases as well, even though the group Test is only set to
    >> database1.
    >>
    >> What is problem here??
    >>
    >>
    >> Owe
    >>
    >
    >


  • Next message: Sue Hoegemeier: "Re: Lost DTS Password"

    Relevant Pages

    • Re: Strange Exception!
      ... I'm not sure how you login to enterprise manager as a different account? ... the database, the owner, and the object. ... if I click on continue on the exception the program ...
      (microsoft.public.dotnet.general)
    • Re: Beginner security questions
      ... Since you've installed with "Windows Only" you may have a few steps to take ... You could try to create a user account on the SQL ... Reinstall sql server in mixed mode (remember to back up your database ...
      (microsoft.public.sqlserver.security)
    • RESTORING CRASHED SITE WEBS
      ... I reformatted and reinstalled Windows 2003. ... access using Windows Security the account returned in the failed login ... RESTORE ALL SQL AND WSS DATABASES ... I put in the database server name and existing ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: Hard Drive Crash, Restoring to Original Registered User
      ... programs work except a database I use which is locked, ... Probably doesn't matter what name is used for your Windows account. ... Everytime a new user account is created, and new SID is assigned to it. ... The "registered to" isn't used by your database. ...
      (microsoft.public.windowsxp.general)
    • Re: RESTORING CRASHED SITE WEBS
      ... I reformatted and reinstalled Windows 2003. ... > access using Windows Security the account returned in the failed login ... INSTALL WINDOWS SP1 ... I put in the database server name and existing ...
      (microsoft.public.sharepoint.windowsservices)