X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1F4C99DC82F for ; Sat, 7 Jan 2006 13:52:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25773-02 for ; Sat, 7 Jan 2006 13:52:06 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 1A75B9DC874 for ; Sat, 7 Jan 2006 13:52:05 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id D6DC61033E1D; Sat, 7 Jan 2006 17:52:05 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24264-07; Sat, 7 Jan 2006 13:52:04 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id DF5231033E17; Sat, 7 Jan 2006 17:52:03 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000522 ] Enabling logging breaks ODBC for non administrators Content-type: text/plain; charset=UTF-8 Message-Id: <20060107175203.DF5231033E17@pgfoundry.org> Date: Sat, 7 Jan 2006 17:52:03 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.759 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.131, NO_REAL_NAME=0.55] X-Spam-Score: -0.759 X-Spam-Level: X-Archive-Number: 200601/56 X-Sequence-Number: 6871 Bugs item #1000522, was opened at 2006-01-07 18:52 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000522&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Magnus Hagander (mha) Assigned to: Nobody (None) Summary: Enabling logging breaks ODBC for non administrators Initial Comment: Steps to reproduce (tested on windows 2003) 1. Create a user DSN logged in as a non-admin user 2. Create another user DSN logged in as admin user. As this user, enable logging ("mylog") 3. Try to configure the DSN logged in as a non admin user. The ODBC driver crashes with error 998. This is probably because it can't write to the logfile? Which brings up two points: 1) There should be error checking for that :-) If that's exactly what it is. 2) The logfiles are completely usless for non-administrative users, since they are hardcoded to c:\. This should be configurable, or if it's hardcode dit should at least be hardcoded to the temp directory (as set in the environment), not to c:\. This is true even if my assumption that this permissions issue is what causes the problem specified. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000522&group_id=1000125