Showing posts with label security. Show all posts
Showing posts with label security. Show all posts

Monday, March 26, 2012

job security and permission required

Hi,
What permission is required to create and execute the job successfully?
Switch job ownership to A, but A can't execute job successfully. In the job
, there is DTS and stored procedure. What permission is required?
Thank you.
YulingSee:
269074 INF: How to Run a DTS Package as a Scheduled Job
http://support.microsoft.com/?id=269074
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

job security

I tried to search throughout BOL, but did not find any help on this:
who can start a job? what rights should the user have?
thanx
zarko
To start a job a user needs permissions on the sp_startjob stored procedure
in msdb. By default the publice role has exec permission on that stored
procedure, so every user can start a job.
Jacco Schalkwijk
SQL Server MVP
"Zarko Jovanovic" <mind_less_NOSPAM_@.bigfoot.com> wrote in message
news:1097751700.805211@.internet.fina.hr...
>I tried to search throughout BOL, but did not find any help on this:
> who can start a job? what rights should the user have?
> thanx
> zarko
>
|||You can find the permissions needed in books online under
sp_start_job. A user who is a sysadmin can start any job. A
non-sysadmin can start jobs that they own.
-Sue
On Thu, 14 Oct 2004 13:01:29 +0200, "Zarko Jovanovic"
<mind_less_NOSPAM_@.bigfoot.com> wrote:

>I tried to search throughout BOL, but did not find any help on this:
>who can start a job? what rights should the user have?
>thanx
>zarko
>

JOB Security

hi @.ll
I have a problem with the security on the JOB.
We have a lot of User (Programmer) this users needs access to the job from
other Users.
If the User has SysAdmin Right everything works fine, without SysAdmin the
User see the Job from the other Job not.
Is there any way to give this kind of User Access to the job from the other
Users?
thanks for any kind of answer
klausThere isn't a supported way to do this as non-sysadmins can
only view or edit jobs they own.
An unsupported method that some have used is to add the user
to the TargetServer role in msdb. The permissions members of
this role has varies depending on what service pack has been
applied.
-Sue
On Wed, 16 Mar 2005 09:36:59 +0100, "Klaus Bilger"
<Klaus.Bilger@.C-S-L.BIZ> wrote:

>hi @.ll
>I have a problem with the security on the JOB.
>We have a lot of User (Programmer) this users needs access to the job from
>other Users.
>If the User has SysAdmin Right everything works fine, without SysAdmin the
>User see the Job from the other Job not.
> Is there any way to give this kind of User Access to the job from the othe
r
>Users?
>
>thanks for any kind of answer
>
>
>klaus
>

job security

I tried to search throughout BOL, but did not find any help on this:
who can start a job? what rights should the user have?
thanx
zarkoTo start a job a user needs permissions on the sp_startjob stored procedure
in msdb. By default the publice role has exec permission on that stored
procedure, so every user can start a job.
Jacco Schalkwijk
SQL Server MVP
"Zarko Jovanovic" <mind_less_NOSPAM_@.bigfoot.com> wrote in message
news:1097751700.805211@.internet.fina.hr...
>I tried to search throughout BOL, but did not find any help on this:
> who can start a job? what rights should the user have?
> thanx
> zarko
>|||You can find the permissions needed in books online under
sp_start_job. A user who is a sysadmin can start any job. A
non-sysadmin can start jobs that they own.
-Sue
On Thu, 14 Oct 2004 13:01:29 +0200, "Zarko Jovanovic"
<mind_less_NOSPAM_@.bigfoot.com> wrote:

>I tried to search throughout BOL, but did not find any help on this:
>who can start a job? what rights should the user have?
>thanx
>zarko
>

job security

I tried to search throughout BOL, but did not find any help on this:
who can start a job? what rights should the user have?
thanx
zarkoTo start a job a user needs permissions on the sp_startjob stored procedure
in msdb. By default the publice role has exec permission on that stored
procedure, so every user can start a job.
--
Jacco Schalkwijk
SQL Server MVP
"Zarko Jovanovic" <mind_less_NOSPAM_@.bigfoot.com> wrote in message
news:1097751700.805211@.internet.fina.hr...
>I tried to search throughout BOL, but did not find any help on this:
> who can start a job? what rights should the user have?
> thanx
> zarko
>|||You can find the permissions needed in books online under
sp_start_job. A user who is a sysadmin can start any job. A
non-sysadmin can start jobs that they own.
-Sue
On Thu, 14 Oct 2004 13:01:29 +0200, "Zarko Jovanovic"
<mind_less_NOSPAM_@.bigfoot.com> wrote:
>I tried to search throughout BOL, but did not find any help on this:
>who can start a job? what rights should the user have?
>thanx
>zarko
>sql

Friday, March 9, 2012

job failed (SSIS). Executed as user: SRVDESASQL2005\SYSTEM.

Hi everyone,
I've made SSIS using domain security and after that it has been scheduled by
Sql Server Agent. But that job fails and looking into history job I read:
"Executed as user: SRVDESASQL2005\SYSTEM. The package execution failed. The
step failed."
Mssql Server agent is being used for local system. Is there the problem?
Nevertheles the aforementioned user have symin role.
Does anyone ever faced this kind of issue?
Thanks in advance,This issue is already solved.
Please post DDL, DCL and DML statements as well as any error message in
order to understand better your request. It''''s hard to provide information
without seeing the code. location: Alicante (ES)
"Enric" wrote:

> Hi everyone,
> I've made SSIS using domain security and after that it has been scheduled
by
> Sql Server Agent. But that job fails and looking into history job I read:
> "Executed as user: SRVDESASQL2005\SYSTEM. The package execution failed. T
he
> step failed."
> Mssql Server agent is being used for local system. Is there the problem?
> Nevertheles the aforementioned user have symin role.
> Does anyone ever faced this kind of issue?
> Thanks in advance,
>
>
>
>
>|||Just curious.. what was the reason. Was it because SSIS accessed some
resource in the network for whcih the local user didn't have access'
"Enric" wrote:
> This issue is already solved.
> --
> Please post DDL, DCL and DML statements as well as any error message in
> order to understand better your request. It''''s hard to provide informati
on
> without seeing the code. location: Alicante (ES)
>
> "Enric" wrote:
>

job failed (SSIS). Executed as user: SRVDESASQL2005\SYSTEM.

Hi everyone,

I've made SSIS using domain security and after that it has been scheduled by Sql Server Agent. But that job fails and looking into history job I read:

"Executed as user: SRVDESASQL2005\SYSTEM. The package execution failed. The step failed."

Mssql Server agent is being used for local system. Is there the problem?

Nevertheles the aforementioned user have sysadmin role.

Does anyone ever faced this kind of issue?

Thanks in advance,


Check out this kb article, which digs into scheduling and permissions problems, and the way to troubleshoot them:

http://support.microsoft.com/kb/918760

|||

Effectively I was setting local system as user for the service so that...

Thanks anyway.

Monday, February 20, 2012

JDBC issues on infoview (Tomcat)

Hi All,

I'm experiencing an issue with a report which was originally designed for use with CR 7.5 but then, for security reason, we had to adapt it for use with CRXI.

Basically, when updating the datasource settings, using the native oracle driver available on the Crystal report application, I get an "unrecognised characterset" error message.

A colleague suggested that this is probably an application issue as if instead of the native Oracle connectivity, I update the datasource to use a JDBC connection, I do get results printed on the screen.

However when I load the modified and saved template into infoview, I get a "Failed to open connection" error.

I've been looking into both the tomcat and businessobject documentation but couldn't find anything to help me.

Does anyone has a clue on what do I need to look at in order to fix this issue?

Thanks a lot

LaurenceForgot to mention, BusinessObject is installed under tomcat on a unix machine...|||Open the report and do verify database and try.
Also search for your solution here
http://support.businessobjects.com/

JDBC Integrated Security problem

Hi,

I am using the latest 6/26 JDBC driver to connect to sql server 2000 server. My url is jdbc:sqlserver://hostname:1433;integratedSecurity=true;. I was getting the following errors "Invalid integratedSecurity property value:true". Any suggestion to resolve this problem.

Thanks.

hi Alexie,

Can you try adding the following to your repro:
DatabaseMetaData dd = conn.getMetaData();
System.out.println("Driver version is " + dd.getDriverVersion() );

My first suspicion is that you may have the RTW driver somewhere in the path and you are not picking up CTP2.

CTP2 Driver version is 1.1.1320.0. This build contains Integrated Security feature.
RTW Driver version is 1.0.809.102. This build would throw the error that you are seeing since Integrated authentication was not yet implemented.|||

Thanks your information. Clean the classpath helps to resolve this problem.

Additional question, how to pass NT domain account. I enter

jdbc:sqlserver://hostname;integratedSecurity=true;user=domain\myaccount;password=mypassword;

I was getting exception like

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

Do you have any suggestion? I heard that I need to impersonate my client program. Do you know where to find reference document and sample code.

|||pls run the sql profiler and check what account is java using to connect to sql server|||

I am not able to connect to sql server. Should I see any errors in profiler? Java account is using sql server admin account. I can see other textData for admin account but not for remote sql server connection.

Thanks.

|||

Glad to hear that you got the path problem cleared up.

There is no way to pass in NT domain account, unfortunatelly this means that integrated authentication will not work at all on non Windows platforms.

For Windows platforms you can get arround this limitation by using impersonation before creating a connection so that you connect with the NT domain information that you select.

One of the features currently being considered for our next release is a type four integrated authentication that would work for non Windows platforms and that would allow you to pass in NT authentication as shown above. Currently we have no customer feedback on why this would be important, and it is not clear whether we will decide to include it. If this feature is important to you I would encourage you to file a bug directly in the product feedback webpage, it will definitelly help us come feature discussion time.

http://msdn.microsoft.com/data/ref/jdbc/ "Submit Feedback on the JDBC Driver"

Thanks,

Angel

|||

Angel,

Thanks your information. As you mention, it will be a problem if our java client resides on non-windows environment and tries to access sql server.

|||

Angel,

I try to submit feedback, but I am not able to locate any add new feedback function. Can you help?

|||

Alexie,

What problem did you have when clicking on the "Submit Feedback on the JDBC Driver" link? As far as I know this should take you to the Connect web site where you should be able to file a bug directly on this product.

|||

Angel,

I try the http://connect.microsoft.com/SQLServer/Feedback. It only allow me to search all existing bugs. But, I try to add new bug.

|||

I see, the process is a little bit confusing. This is the first time that I use the updated connect page.

They seem to be trying to avoid bug duplicates by forcing you to do a search first. You can submit a bug after doing the search.

The process looks like: http://connect.microsoft.com/SQLServer/Feedback. -> Submit Feedback

Step 1 has someone else already reported this issue: -> write something on the search feedback textbox and click on search.

Step 2, Unable to find a match -> Submit Feedback (button at the bottom of the screen)

click on SQL Server 2005 Bug Form . Make sure you type JDBC on the title of the bug so that it gets routed to us faster.

Hope this is not too much of a pain, thank you for taking the time to submit feedback.

|||

Angel,

Thanks. I submitted my feedback.

|||

Angel,

You mentioned "For Windows platforms you can get arround this limitation by using impersonation before creating a connection so that you connect with the NT domain information that you select." from you early response.

Do you know how to implement impersonation? Any code sample or reference document?

Thanks again.

|||

Hmm not really sure what the best way would be. I would create a windows dll and call from the Java app into my dll to use Windows impersonation APIs.

This looks promising though:

http://www.onjava.com/pub/a/onjava/2004/02/25/javavsdotnet.html?page=4

|||

Angel,

I am able to impersonate my client program, but I am still getting "Login failed for user ''. The user is not associated with a trusted SQL Server connection.". Do you know why I am still getting this error? Do I miss any steps? Both my client program and SQL Server 2005 are on same host and same domain(DC).

Thanks.