pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feeduser exists but mylog says it does not???
4+ messages / 3 participants
[nested] [flat]
* user exists but mylog says it does not???
@ 2004-01-14 17:10 Bing Du <bdu@iastate.edu>
0 siblings, 1 reply; 4+ messages in thread
From: Bing Du @ 2004-01-14 17:10 UTC (permalink / raw)
To: pgsql-odbc
Greetings,
PostgreSQL 7.4 on RedHat 9.
I don't get this. I can use 'psql -U maxware -W' from the command line to
access the database. I've set up the same username and password in the
system DSN. However, the application using the DSN gives the following
user not exists error in mylog. How so?
By the way, the application is running on the IIS on a Windows 2000.
Also, I apologize for the poor format of the following extracted log
information. Right now, both my mylog and psqlodbc files are not easy to
read due to no line breaks. What I can do to get it better formated?
===============
conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
fDriverCompletion=0
DSN info:
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware',user='MAXWARE',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
Global Options: Version='07.03.0200', fetch=100, socket=4096,
unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
disable_optimizer=1, ksqo=1, unique_index=1,
use_declarefetch=0
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1 NAMEDATALEN=64
extra_systable_prefixes='dd_;', conn_settings=''
conn_encoding='OTHER'
ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
exist
'
CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
'
------------------------------------------------------------
henv=35927040, conn=35927096, status=0, num_stmts=16
sock=35938096, stmts=35946376, lobj_type=-999
---------------- Socket Info -------------------------------
socket=1380, reverse=0, errornumber=0, errormsg='(NULL)'
buffer_in=35938168, buffer_out=35942272
buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
fDriverCompletion=0
DSN info:
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware',user='MAXWARE',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
Global Options: Version='07.03.0200', fetch=100, socket=4096,
unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
disable_optimizer=1, ksqo=1, unique_index=1,
use_declarefetch=0
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1 NAMEDATALEN=64
extra_systable_prefixes='dd_;', conn_settings=''
conn_encoding='OTHER'
ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
exist
'
CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
'
------------------------------------------------------------
henv=35927040, conn=35927096, status=0, num_stmts=16
sock=35946376, stmts=35938096, lobj_type=-999
---------------- Socket Info -------------------------------
socket=1416, reverse=0, errornumber=0, errormsg='(NULL)'
buffer_in=35938168, buffer_out=35942272
buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
fDriverCompletion=0
DSN info:
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware',user='MAXWARE',passwd='xxxxx'
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
conn_settings='',conn_encoding='OTHER'
translation_dll='',translation_option=''
Global Options: Version='07.03.0200', fetch=100, socket=4096,
unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
disable_optimizer=1, ksqo=1, unique_index=1,
use_declarefetch=0
text_as_longvarchar=1, unknowns_as_longvarchar=0,
bools_as_char=1 NAMEDATALEN=64
extra_systable_prefixes='dd_;', conn_settings=''
conn_encoding='OTHER'
ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
exist
'
CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
'
------------------------------------------------------------
henv=35927040, conn=35927096, status=0, num_stmts=16
sock=35938096, stmts=35946376, lobj_type=-999
---------------- Socket Info -------------------------------
socket=1420, reverse=0, errornumber=0, errormsg='(NULL)'
buffer_in=35938168, buffer_out=35942272
buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
================
Thanks in advance for any help,
Bing
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: user exists but mylog says it does not???
@ 2004-01-14 17:25 Simeó Reig <simeo@incofisa.com>
parent: Bing Du <bdu@iastate.edu>
0 siblings, 1 reply; 4+ messages in thread
From: Simeó Reig @ 2004-01-14 17:25 UTC (permalink / raw)
To: Bing Du <bdu@iastate.edu>; pgsql-odbc
Is it possible that username / password is case sensitive ?? :-)
Best regards
Simeó Reig
----- Original Message -----
From: "Bing Du" <bdu@iastate.edu>
To: <pgsql-odbc@postgresql.org>
Sent: Wednesday, January 14, 2004 6:10 PM
Subject: [ODBC] user exists but mylog says it does not???
> Greetings,
>
> PostgreSQL 7.4 on RedHat 9.
>
> I don't get this. I can use 'psql -U maxware -W' from the command line to
> access the database. I've set up the same username and password in the
> system DSN. However, the application using the DSN gives the following
> user not exists error in mylog. How so?
>
> By the way, the application is running on the IIS on a Windows 2000.
>
> Also, I apologize for the poor format of the following extracted log
> information. Right now, both my mylog and psqlodbc files are not easy to
> read due to no line breaks. What I can do to get it better formated?
>
> ===============
> conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
> fDriverCompletion=0
> DSN info:
>
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
,user='MAXWARE',passwd='xxxxx'
>
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
> conn_settings='',conn_encoding='OTHER'
> translation_dll='',translation_option=''
> Global Options: Version='07.03.0200', fetch=100, socket=4096,
> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
> disable_optimizer=1, ksqo=1, unique_index=1,
> use_declarefetch=0
> text_as_longvarchar=1, unknowns_as_longvarchar=0,
> bools_as_char=1 NAMEDATALEN=64
> extra_systable_prefixes='dd_;', conn_settings=''
> conn_encoding='OTHER'
> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
> exist
> '
> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
> '
> ------------------------------------------------------------
> henv=35927040, conn=35927096, status=0, num_stmts=16
> sock=35938096, stmts=35946376, lobj_type=-999
> ---------------- Socket Info -------------------------------
> socket=1380, reverse=0, errornumber=0, errormsg='(NULL)'
> buffer_in=35938168, buffer_out=35942272
> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
> conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
> fDriverCompletion=0
> DSN info:
>
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
,user='MAXWARE',passwd='xxxxx'
>
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
> conn_settings='',conn_encoding='OTHER'
> translation_dll='',translation_option=''
> Global Options: Version='07.03.0200', fetch=100, socket=4096,
> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
> disable_optimizer=1, ksqo=1, unique_index=1,
> use_declarefetch=0
> text_as_longvarchar=1, unknowns_as_longvarchar=0,
> bools_as_char=1 NAMEDATALEN=64
> extra_systable_prefixes='dd_;', conn_settings=''
> conn_encoding='OTHER'
> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
> exist
> '
> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
> '
> ------------------------------------------------------------
> henv=35927040, conn=35927096, status=0, num_stmts=16
> sock=35946376, stmts=35938096, lobj_type=-999
> ---------------- Socket Info -------------------------------
> socket=1416, reverse=0, errornumber=0, errormsg='(NULL)'
> buffer_in=35938168, buffer_out=35942272
> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
> conn=35927096, PGAPI_DriverConnect( in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
> fDriverCompletion=0
> DSN info:
>
DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
,user='MAXWARE',passwd='xxxxx'
>
onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
> conn_settings='',conn_encoding='OTHER'
> translation_dll='',translation_option=''
> Global Options: Version='07.03.0200', fetch=100, socket=4096,
> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
> disable_optimizer=1, ksqo=1, unique_index=1,
> use_declarefetch=0
> text_as_longvarchar=1, unknowns_as_longvarchar=0,
> bools_as_char=1 NAMEDATALEN=64
> extra_systable_prefixes='dd_;', conn_settings=''
> conn_encoding='OTHER'
> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does not
> exist
> '
> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
> '
> ------------------------------------------------------------
> henv=35927040, conn=35927096, status=0, num_stmts=16
> sock=35938096, stmts=35946376, lobj_type=-999
> ---------------- Socket Info -------------------------------
> socket=1420, reverse=0, errornumber=0, errormsg='(NULL)'
> buffer_in=35938168, buffer_out=35942272
> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
> ================
>
> Thanks in advance for any help,
>
> Bing
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: user exists but mylog says it does not???
@ 2004-01-14 17:50 Bing Du <bdu@iastate.edu>
parent: Simeó Reig <simeo@incofisa.com>
0 siblings, 0 replies; 4+ messages in thread
From: Bing Du @ 2004-01-14 17:50 UTC (permalink / raw)
To: Simeó Reig <simeo@incofisa.com>; +Cc: Bing Du <bdu@iastate.edu>; pgsql-odbc
Is password case sensitive for psql? Giving 'abc' or 'ABC' (faked) as the
password both let me in from the psql command line though I set the
password for user 'maxware' to 'abc' on the PostgreSQL server. But the
application keeps saying user does not exist regardless what case I set
the password up in the DSN.
Bing
> Is it possible that username / password is case sensitive ?? :-)
>
> Best regards
> Simeó Reig
>
>
> ----- Original Message -----
> From: "Bing Du" <bdu@iastate.edu>
> To: <pgsql-odbc@postgresql.org>
> Sent: Wednesday, January 14, 2004 6:10 PM
> Subject: [ODBC] user exists but mylog says it does not???
>
>
>> Greetings,
>>
>> PostgreSQL 7.4 on RedHat 9.
>>
>> I don't get this. I can use 'psql -U maxware -W' from the command line
>> to
>> access the database. I've set up the same username and password in the
>> system DSN. However, the application using the DSN gives the following
>> user not exists error in mylog. How so?
>>
>> By the way, the application is running on the IIS on a Windows 2000.
>>
>> Also, I apologize for the poor format of the following extracted log
>> information. Right now, both my mylog and psqlodbc files are not easy
>> to
>> read due to no line breaks. What I can do to get it better formated?
>>
>> ===============
>> conn=35927096, PGAPI_DriverConnect(
>> in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
>> fDriverCompletion=0
>> DSN info:
>>
> DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
> ,user='MAXWARE',passwd='xxxxx'
>>
> onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
>> conn_settings='',conn_encoding='OTHER'
>> translation_dll='',translation_option=''
>> Global Options: Version='07.03.0200', fetch=100, socket=4096,
>> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
>> disable_optimizer=1, ksqo=1, unique_index=1,
>> use_declarefetch=0
>> text_as_longvarchar=1, unknowns_as_longvarchar=0,
>> bools_as_char=1 NAMEDATALEN=64
>> extra_systable_prefixes='dd_;', conn_settings=''
>> conn_encoding='OTHER'
>> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does
>> not
>> exist
>> '
>> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
>> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
>> '
>> ------------------------------------------------------------
>> henv=35927040, conn=35927096, status=0, num_stmts=16
>> sock=35938096, stmts=35946376, lobj_type=-999
>> ---------------- Socket Info -------------------------------
>> socket=1380, reverse=0, errornumber=0, errormsg='(NULL)'
>> buffer_in=35938168, buffer_out=35942272
>> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
>> conn=35927096, PGAPI_DriverConnect(
>> in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
>> fDriverCompletion=0
>> DSN info:
>>
> DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
> ,user='MAXWARE',passwd='xxxxx'
>>
> onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
>> conn_settings='',conn_encoding='OTHER'
>> translation_dll='',translation_option=''
>> Global Options: Version='07.03.0200', fetch=100, socket=4096,
>> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
>> disable_optimizer=1, ksqo=1, unique_index=1,
>> use_declarefetch=0
>> text_as_longvarchar=1, unknowns_as_longvarchar=0,
>> bools_as_char=1 NAMEDATALEN=64
>> extra_systable_prefixes='dd_;', conn_settings=''
>> conn_encoding='OTHER'
>> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does
>> not
>> exist
>> '
>> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
>> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
>> '
>> ------------------------------------------------------------
>> henv=35927040, conn=35927096, status=0, num_stmts=16
>> sock=35946376, stmts=35938096, lobj_type=-999
>> ---------------- Socket Info -------------------------------
>> socket=1416, reverse=0, errornumber=0, errormsg='(NULL)'
>> buffer_in=35938168, buffer_out=35942272
>> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
>> conn=35927096, PGAPI_DriverConnect(
>> in)='DSN=opal;UID=MAXWARE;PWD=xxxxx;',
>> fDriverCompletion=0
>> DSN info:
>>
> DSN='opal',server='butterfinger.eng.iastate.edu',port='5432',dbase='maxware'
> ,user='MAXWARE',passwd='xxxxx'
>>
> onlyread='0',protocol='6.4',showoid='0',fakeoidindex='0',showsystable='0'
>> conn_settings='',conn_encoding='OTHER'
>> translation_dll='',translation_option=''
>> Global Options: Version='07.03.0200', fetch=100, socket=4096,
>> unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
>> disable_optimizer=1, ksqo=1, unique_index=1,
>> use_declarefetch=0
>> text_as_longvarchar=1, unknowns_as_longvarchar=0,
>> bools_as_char=1 NAMEDATALEN=64
>> extra_systable_prefixes='dd_;', conn_settings=''
>> conn_encoding='OTHER'
>> ERROR from backend during authentication: 'FATAL: user "MAXWARE" does
>> not
>> exist
>> '
>> CONN ERROR: func=PGAPI_DriverConnect, desc='Error from CC_Connect',
>> errnum=210, errmsg='FATAL: user "MAXWARE" does not exist
>> '
>> ------------------------------------------------------------
>> henv=35927040, conn=35927096, status=0, num_stmts=16
>> sock=35938096, stmts=35946376, lobj_type=-999
>> ---------------- Socket Info -------------------------------
>> socket=1420, reverse=0, errornumber=0, errormsg='(NULL)'
>> buffer_in=35938168, buffer_out=35942272
>> buffer_filled_in=45, buffer_filled_out=0, buffer_read_in=45
>> ================
>>
>> Thanks in advance for any help,
>>
>> Bing
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 3: if posting/reading through Usenet, please send an appropriate
>> subscribe-nomail command to majordomo@postgresql.org so that your
>> message can get through to the mailing list cleanly
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: user exists but mylog says it does not???
@ 2004-01-14 17:54 Jon Willeke <willeke@users.sourceforge.net>
0 siblings, 0 replies; 4+ messages in thread
From: Jon Willeke @ 2004-01-14 17:54 UTC (permalink / raw)
To: pgsql-odbc
Double check the client authentication configuration on the PostgreSQL server:
<http://www.postgresql.org/docs/current/static/client-authentication.html;
At 1/14/2004, Bing Du wrote:
>PostgreSQL 7.4 on RedHat 9.
>
>I don't get this. I can use 'psql -U maxware -W' from the command line to
>access the database. I've set up the same username and password in the
>system DSN. However, the application using the DSN gives the following
>user not exists error in mylog. How so?
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-01-14 17:54 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-14 17:10 user exists but mylog says it does not??? Bing Du <bdu@iastate.edu>
2004-01-14 17:25 ` Simeó Reig <simeo@incofisa.com>
2004-01-14 17:50 ` Bing Du <bdu@iastate.edu>
2004-01-14 17:54 Re: user exists but mylog says it does not??? Jon Willeke <willeke@users.sourceforge.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox