cannot update account due to error message - sql-server

I'm trying to update this users permissions in sql server but it will not allow me. I am getting this pop up message whenever I try. I only see one account for this user. Is there a way to check to see if there are more than one and delete the one that is not in use? Not a dba at all but got tossed into this. Thanks.
This is the section I'm trying to update. It is from Databases --> security --> login and right clicking.
It seems to be missing the login name? How can I edit to add?

Related

login failed for user 'distributor_admin'

I have a Distribution server to several Publications,
Today i started to get this error while i try to modify several Publication.
login failed for user 'distributor_admin'
It's important to highlight that i didn't change any password.
I wanted to know if anybody know what happen if i change the password in the administrative link ?
Dose it change me the pass to all replication so i don't have to change it manually one by one?
Is there any other way i cant change it without damaging\stopping all the other replications ? i don't want to create them all once again.
Right click on replication
distributor properties
on the left side click on publishers
button of the page administrative link
You can change the password it will change it to every active replication you have.
Write it down.

Limit the Users using Policy Mangement

Can we limit the number of users (For ex. 5) for a particular login
Or Is there anyway to restrict the particular User using POLICY MANAGEMENT in SQL SERVER?
Please kindly help me to implement this.
Don't think it could be done with PBM, but you can solve this by creating a logon trigger, and in the trigger do a quick query on sys.dm_exec_sessions, counting sessions with the original_login_name same as suser_sname().
Beware that an error in login trigger could prevent all logins and render the instance unaccessible. To fix this, start the service in single user mode (-m).
Hope it helps.

Site.com Error for system administrator

I am trying to edit site.com site in my org, Through i am system administrator it gives me access level error shown below:
'you do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.'
Any suggestion??
Check the security tips from https://salesforce.stackexchange.com/questions/5598/permission-problem-in-sales-forece and http://boards.developerforce.com/t5/Force-com-Sites-Site-com/page-is-showing-insufficient-privilege/td-p/233797
If you're sure the security of the Site is fine - try to debug the site https://salesforce.stackexchange.com/questions/1149/how-can-i-get-a-debug-log-for-the-sites-guest-user-public-profile (because you might be getting an Apex error that's not being displayed on your VF page).
Did the site used to work or is it new? If it's new I'm betting on permissions (first 2 links), Guest User profile should be examined if he has access to the objects you're using...
Last but not least: there's a bug they've fixed 5 days ago: http://success.salesforce.com/issues_view?id=a1p30000000RivgAAC Maybe you need to use this workaround, maybe you simply can clone the site and it'll work fine...
you have to check your profile, and i guess that there is someone who have created the profile for you and delegate you to be an administrator, if this is not your problem, you have to go to your personnal informations and click edit and you may find a checkbox which concerns "Site Publisher" you have to check it to be able to create and publish your site :)

CakePHP login to app = login to DB

we have a database with distinct login for every employee. Full of triggers checking permissions, writing logs of user activity, etc. Now I am writing a simple CakePHP interface to a part of it.
What I need to achieve is to connect to the database through CakePHP. Something like connect() method that will try to connect to DB with entered credentials and, if successfull, will keep that connection and access the CakePHP application.
Well, I am googling since yesterday but can't find any direction. Do you know about any article/example..., that would help me with this task?
Thank you very much for your time.
-Petr
there is information on how to do this in the book http://book.cakephp.org/view/1250/Authentication

PerformancePoint dashboard permissions problem in MOSS

I have a PerformancePoint dashboard running in MOSS 2007 portal. The dashboard consists of one SSRS 2005 report, running in SharePoint Integrated mode.
NT Authority\Authenticated Users have read permissions to the report library containing the SSRS report, the dashboard, and the report library containing the dashboard.
Users that attempt to access the dashboard receive the following error message:
The permissions granted to user
'DOMAIN\firstname.lastname' are
insufficient for performing this
operation. (rsAccessDenied)
Users that then click on the direct link to the report in MOSS will see the report with no problem. Subsequent visits to the dashboard show the report with no problem.
The report is using a data source that is located one folder up from the report location. The report has been updated to point to the correct shared data source after deployment. Both the report and the data source have been published. The data source is using stored credentials, with a domain service account that has been set to Use as Windows credentials. This service account is serving other reports in other areas with no problem.
Edit:
Ok, I've gotten a lot more information on this problem. The request is never actually being made to the data source. The user comes in to the dashboard and requests a report for the first time using their kerberos token identifying themselves. The report looks in the Report Server database and finds that they are not listed in the users table and generates this rsAccessDenied error. Once they view the report directly their name is in this table and they never have the problem again.
Unfortunately, removing the user from the Users table in the RS database doesn't actually cause this error to happen again.
Everything I've read says that when you run a Report Server in MOSS integrated mode all your permissions are handled at the MOSS report library level, and all Auth users have permissions to the report library, as stated earlier. Any ideas?
It sounds like the dashboard page is not passing credentials to the report server. Because you stated if the user hits the report directly it works and then if they go through the dashboard it works. So does it stop working after a certain period, indicating a cached session?
I would look carefully at the properties on the dashboard in performance point to see if it is passing credentials or trying to use anonymous. I hope this isn't a case of double hop and Kerberos :(
I'm not sure if this is actually the same issue, but you could double check that the data sources are set to "Approved", not "Pending". It's a stretch, but it's worth a shot.
I implemented a work-around:
created a fake report
on the page with my report, created a content editor web part consisting of the following:
<iframe style="display:none;" src="https://link/to/my/report.rdl"></iframe>
I tested with another user that was experiencing the error, and they are no longer experiencing the error with my new and improved page.
I know this is a kludgy, and might even be dependent on the loading order of the page. Therefore, I would really like to find out what's causing this issue so I can fix it for good.
Edit:
I don't want to accept my own answer, since it's just a work-around. If anyone can post anything relevant to the user name placed into the Report Server DB and how that relates to SharePoint Integrated mode, you'll get the bounty.

Resources