Re: orphaned 'aliased' user
From: Peter Feakins (PeterFeakins_at_discussions.microsoft.com)
Date: 08/27/04
- Next message: Jon: "Execute permission denied"
- Previous message: Kevin McDonnell [MSFT]: "RE: Foreign domain users"
- In reply to: Russell Fields: "Re: orphaned 'aliased' user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Aug 2004 13:49:05 -0700
We found that if we dropped the login (login was only mapped to the one
database) then we could run sp_dropalias successfully. Thanks for the help.
Peter
"Russell Fields" wrote:
> Peter,
>
> From your comments you certainly seem to know about the topic
> Troubleshooting Orphaned Users (BOL)
> http://tinyurl.com/7yjwt
>
> It seems like you may be stuck with the ugly process of hacking the system
> table to fix this. (Not too bad in this case, but to be avoided as a general
> policy.) You should be able to allow updates to system tables, then delete
> the troublesome row. Then be sure to disallow updates again.
>
> allow updates Option (from the BOL)
> http://tinyurl.com/4juy2
>
> Russell Fields
>
> "Peter Feakins" <PeterFeakins@discussions.microsoft.com> wrote in message
> news:6962B92D-1ED2-4A69-8B30-7DC9D704C8DD@microsoft.com...
> > We have a database that we detached and reattached on a new server. We've
> > corrected all of the orphaned users except for one that appears to be an
> > alias. The value for 'isaliased' in sysusers is 1 and the value for issql
> is
> > 0. We've transferred the login with which it was originally associated,
> > however, the sid value has changed. It appears that we can't use
> > sp_change_users_login since the user is not an sql user, and the
> sp_addalias
> > inserts a new sysusers record, rather than update the existing record.
> Any
> > suggestions?
>
>
>
- Next message: Jon: "Execute permission denied"
- Previous message: Kevin McDonnell [MSFT]: "RE: Foreign domain users"
- In reply to: Russell Fields: "Re: orphaned 'aliased' user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|