Re: likely database privilege problem
Posted in 2011
Hi TJ,
IDS server team should be able to give you more help on
why server is reporting SQL30082N with reason code 25.
I tried setting up an IDS 11.7 server to simulate the problem.
Then issued various scenarios that can lead to error.
None of the scenario reported reason code 25.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
|------------>
| From: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|Sathyanesh Krishnan/Lenexa/IBM@IBMUS =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|"Throstur Jonsson" <tj@rational-network.com> =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|------------>
| Cc: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|Ardeshir Jamshidi/Oakland/IBM@IBMUS, ids@iiug.org, classics-bounces@=
iiug.org, informix-list@iiug.org, dotNet Runtime Team =
|
|<dotNet_Runtime_Team%IBMUS@us.ibm.com> =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|01/25/2011 02:01 PM =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|Re: likely database privilege problem =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
|informix-list-bounces@iiug.org =
=
|
>--------------------------------------------------------------------=
-----------------------------------------------------------------------=
-------|
Hi TJ,
Unfortunately the reason code 25 of the error doesn't give much clue,
IDS server support multiple protocols (SQLI and DRDA).
This .NET provider uses DRDA protocol to connect to IDS database.
Can you please verify the port number you are using (9091) is configure=
d at
IDS to use DRDA protocol.
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
Inactive hide details for "Throstur Jonsson" ---01/25/2011 01:02:04 PM-=
--Hi
Sathyanesh, This helped me on the local server, the"Throstur Jonsson"
---01/25/2011 01:02:04 PM---Hi Sathyanesh, This helped me on the local
server, the testconn40.exe now finish with success. Howev
=
=
From: "Throstur Jonsson" <tj@rational-network.com> =
=
=
To: Sathyanesh Krishnan/Lenexa/IBM@IBMUS =
=
=
Cc: Ardeshir Jamshidi/Oakland/IBM@IBMUS, <classics-bounces@iiug.org=
>,
"dotNet Runtime Team" <dotNet_Runtime_Team%IBMUS@us.ibm.com>, =
<ids-bounces@iiug.org> =
=
=
Date: 01/25/2011 01:02 PM =
=
=
Subjec Re: likely database privilege problem =
t: =
=
Hi Sathyanesh,
This helped me on the local server, the testconn40.exe now finish with
success. However when run from another computer on the LAN against the =
same
server I get this:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Step 3: Connecting using "User
ID=3Dinformix;Password=3Dxxxxxx;Database=3Deloxnet;Serv
er=3D192.168.57.72:9091"
Server located, but security error:
ERROR [08001] [IBM] SQL30082N Security processing failed with reason
"25" ("CON
NECTION DISALLOWED"). SQLSTATE=3D08001
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
No matter if I try to run testconn40.exe against the sysuser database I=
get
that error too there.
The IBM .Net provider is correctly setup at this computer as I'm using =
it
against another IDS 11.5 server without problems. It only fails when I =
try
to run it against the IDS 11.7 server.
Regards
TJ
----- Original Message -----
From: Sathyanesh Krishnan
To: Throstur Jonsson
Cc: Ardeshir Jamshidi ; classics-bounces@iiug.org ; dotNet Runtime Team=
;
ids-bounces@iiug.org
Sent: Tuesday, January 25, 2011 3:53 PM
Subject: Re: likely database privilege problem
Hi TJ,
Forgot you include you in the mail :)
Regards,
Satyan
Software Engineer
R&D - IBM Information Management Division
11200 Lakeview, Lenexa, KS 66219
Tel: 913 599 8792 (T/L: 337-8792)
Inactive hide details for Sathyanesh Krishnan---01/25/2011 09:48:54 AM-=
--Hi
TJ, I am redirecting the question to the IDS; ThisSathyanesh
Krishnan---01/25/2011 09:48:54 AM---Hi TJ, I am redirecting the questio=
n to
the IDS; This problem is likely something to do with datab
=
=
From: Sathyanesh Krishnan/Lenexa/IBM =
=
=
To: ids-bounces@iiug.org, classics-bounces@iiug.org =
=
=
Cc: Ardeshir Jamshidi/Oakland/IBM@IBMUS, dotNet Runtime Tea=
m
=
=
Date: 01/25/2011 09:48 AM =
=
=
Subject: likely database privilege problem =
=
Hi TJ,
I am redirecting the question to the IDS;
This problem is likely something to do with database privilege at IDS
server.
Most probably the problem will resolve once you GRANT appropriate right=
to
the database.
Just for verifying you may issue the following command to the database =
you
are trying to connect.
grant connect to public;
grant resource to public;
If this doesn't solve the problem then IDS folks can help you better he=
re.
Regards,
Satyan
Software Engineer@@NL