X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4C784D1B469 for ; Wed, 14 Jan 2004 17:26:14 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 62141-06 for ; Wed, 14 Jan 2004 13:25:43 -0400 (AST) Received: from mail.incofisa.com (62.Red-80-38-185.pooles.rima-tde.net [80.38.185.62]) by svr1.postgresql.org (Postfix) with ESMTP id D074CD1B4BE for ; Wed, 14 Jan 2004 13:25:25 -0400 (AST) Received: from www (www.incofisa.com [192.168.0.5]) by mail.incofisa.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id i0EHPB017987; Wed, 14 Jan 2004 18:25:11 +0100 Message-ID: <000e01c3dac3$59e51890$0500a8c0@incofisa.com> From: =?iso-8859-1?Q?Sime=F3_Reig?= To: "Bing Du" , References: <3768.129.186.197.127.1074100237.squirrel@mail.eng.iastate.edu> Subject: Re: user exists but mylog says it does not??? Date: Wed, 14 Jan 2004 18:25:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/25 X-Sequence-Number: 3654 Is it possible that username / password is case sensitive ?? :-) Best regards Simeó Reig ----- Original Message ----- From: "Bing Du" To: 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