Unix Technical Forum

JDBC problem - user identifier not known to this installation

This is a discussion on JDBC problem - user identifier not known to this installation within the Ingres forums, part of the Database Server Software category; --> Hi, I'm receiving the following error when attempting to connect to ingres through jdbc: "User authorization check failed. Your ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 07:29 PM
Eric
 
Posts: n/a
Default JDBC problem - user identifier not known to this installation

Hi,
I'm receiving the following error when attempting to connect to ingres
through jdbc:
"User authorization check failed. Your user identified was not known to
this installation".
I'm using Windows XP, Weblogic, and Ingres II 3.0/0404 (int.w32/81); my
settings are
URL = jdbc:edbc://localhost:II7/dbname
driver = ca.edbc.jdbc.EdbcDriver
user=ingres

I don't have any problems using isql or sql to connect to the database. I
have an "ingres" user account on the localhost PC, I've used accessdb to set
"ingres" permissions.

Any help is greatly apprciated,
Eric


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 07:29 PM
Eric
 
Posts: n/a
Default Re: JDBC problem - user identifier not known to this installation

The following solved the issue:

1) Install Ingres from the ingres account letting everything default
2) log into ingres account and ingstart
3) use ingres/password from 1 above for JDBC connect

Eric

"Eric" wrote
> Hi,
> I'm receiving the following error when attempting to connect to ingres
> through jdbc:
> "User authorization check failed. Your user identifier was not known to
> this installation".



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 07:29 PM
Carlos Alonso
 
Posts: n/a
Default Re: JDBC problem - user identifier not known to this installation

Hi Eric,

Just a comment about the user for JDBC connection. You should use a
less priviledged user for JDBC, and specially not ingres. On the OS
side, in a windows installation like yours I think ingres must be a
member of the administrator group. On the DBMS system side, ingres is
an special user. If someone gets by any mean the ingres/passwd pair
through the network or reading some config file on a remote machine
you have a serious security issue.

I recommend to you to consider creating a dedicated user (at OS and
DBMS) for this conn, with the minimun priveledges you can give to it.
In Unix, for example, in some OSs, you can use a nologin account.


Hope this helps

Carlos

"Eric" <EricC@org.org> wrote in message news:<cm5063$imq$1@inn.jlab.org>...
> The following solved the issue:
>
> 1) Install Ingres from the ingres account letting everything default
> 2) log into ingres account and ingstart
> 3) use ingres/password from 1 above for JDBC connect
>
> Eric
>
> "Eric" wrote
> > Hi,
> > I'm receiving the following error when attempting to connect to ingres
> > through jdbc:
> > "User authorization check failed. Your user identifier was not known to
> > this installation".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-20-2008, 07:30 PM
Eric
 
Posts: n/a
Default Re: JDBC problem - user identifier not known to this installation

Excellent point. This setup is for strictly for development work on an
isolated, non-networked PC. But even with this isolated configuration, it
makes sense to connect with a non-administrator, non-privileged user as
suggested.

Many thanks for the feedback,
Eric

"Carlos Alonso" <izena@mixmail.com> wrote in message
news:79016e6d.0411020221.62e46e94@posting.google.c om...
> Hi Eric,
>
> Just a comment about the user for JDBC connection. You should use a
> less priviledged user for JDBC, and specially not ingres. On the OS
> side, in a windows installation like yours I think ingres must be a
> member of the administrator group. On the DBMS system side, ingres is
> an special user. If someone gets by any mean the ingres/passwd pair
> through the network or reading some config file on a remote machine
> you have a serious security issue.
>
> I recommend to you to consider creating a dedicated user (at OS and
> DBMS) for this conn, with the minimun priveledges you can give to it.
> In Unix, for example, in some OSs, you can use a nologin account.
>
>
> Hope this helps
>
> Carlos
>
> "Eric" <EricC@org.org> wrote in message

news:<cm5063$imq$1@inn.jlab.org>...
> > The following solved the issue:
> >
> > 1) Install Ingres from the ingres account letting everything default
> > 2) log into ingres account and ingstart
> > 3) use ingres/password from 1 above for JDBC connect
> >
> > Eric
> >
> > "Eric" wrote
> > > Hi,
> > > I'm receiving the following error when attempting to connect to

ingres
> > > through jdbc:
> > > "User authorization check failed. Your user identifier was not known

to
> > > this installation".



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com