Error -668 on running system calls on NT
Posted in 2000
Topics: Stored Procedures & SPL, Security, Permissions & Auditing, Versions, Editions & End-of-Life
Hi,
we're running IDS 7.20 on NT 4.0 SP3.
Out of a stored procedure I try to run a system call.
I.e.
create procedure test ()SYSTEM 'C:\\WINNT\\notepad.exe';
end procedure;
executing the procedures gives me the error message
-668 System command cannot be executed
In %INFORMIXDIR%\\online.log I see the error
System() command in stored procedure
failed.User:informix,Command:C:\\WINNT\\notepad.exe. Win32 Error :The
client doesn't have a needed privileg.
I granted any rights with
"grant execute on test to public;"
I'm logged in as informix.
Thank you in advance
Oliver Thinnes
Sent via Deja.com http://www.deja.com/
Before you buy.
Hi
We've had the same problem on 9.14 and it turned out to be the advanced
user rights that the user Informix had on the NT machine. Try to give
Informix rights to work as part of the operating system and to act as a
system.level token
These things most often is in the releasenotes
regards
Peter Christensen
In article <8hqt0t$tq9$1@nnrp1.deja.com>,
Oliver Thinnes <oliver_thinnes7845@my-deja.com> wrote:
> Hi,
>
> we're running IDS 7.20 on NT 4.0 SP3.
>
> Out of a stored procedure I try to run a system call.
> I.e.
> create procedure test ()> SYSTEM 'C:\\WINNT\\notepad.exe';
> end procedure;
>
> executing the procedures gives me the error message
> -668 System command cannot be executed
>
> In %INFORMIXDIR%\\online.log I see the error
> System() command in stored procedure
> failed.User:informix,Command:C:\\WINNT\\notepad.exe. Win32 Error :The
> client doesn't have a needed privileg.
>
> I granted any rights with
> "grant execute on test to public;"
>
> I'm logged in as informix.
>
> Thank you in advance
> Oliver Thinnes
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.