X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CE4A19DCAEE for ; Wed, 22 Feb 2006 14:55:15 -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 62467-08 for ; Wed, 22 Feb 2006 14:55:15 -0400 (AST) Received: from jwp.name (rhid.com [200.46.204.134]) by postgresql.org (Postfix) with ESMTP id BBDD09DCA62 for ; Wed, 22 Feb 2006 14:55:13 -0400 (AST) Received: from lit.jwp.name (ip68-98-77-16.ph.ph.cox.net [68.98.77.16]) by jwp.name (Postfix) with ESMTP id 31BA3153A0B5; Wed, 22 Feb 2006 18:55:14 +0000 (UTC) Received: by lit.jwp.name (Postfix, from userid 1000) id 767753C6158; Wed, 22 Feb 2006 11:55:16 -0700 (MST) Date: Wed, 22 Feb 2006 11:55:16 -0700 From: James William Pye To: Josh Close Cc: pgsql-interfaces@postgresql.org Subject: Re: protocol, md5 authentication Message-ID: <20060222185516.GA14399@lit.jwp.name> Mail-Followup-To: Josh Close , pgsql-interfaces@postgresql.org References: <4a0cafe20602220622g77666533k7564b439e83ce55@mail.gmail.com> <20060222163010.GA13550@lit.jwp.name> <4a0cafe20602220853gc1da9a4gb91d8f3711cb4e50@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4a0cafe20602220853gc1da9a4gb91d8f3711cb4e50@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.102 required=5 tests=[AWL=0.102] X-Spam-Score: 0.102 X-Spam-Level: X-Archive-Number: 200602/77 X-Sequence-Number: 6041 On Wed, Feb 22, 2006 at 10:53:45AM -0600, Josh Close wrote: > Where would that be, in the postgres source? And what file? I'm really not > too familiar with C. Yes, in PostgreSQL's source distribution(or CVS). src/interfaces/libpq libpq-auth.c seems like a good place to start. Look for md5 in that file and follow that around. > Yeah, I love Python. That is actually the way I'm sending it also. I'm > connecting via .NET though. I'll have to double check some things. I guessed that you were developing a driver. If that is the case, then I am pretty sure that that should be working. Additionally, make sure the password you are trying works when you connect with trusty ol' psql. If you are not writing a driver, then this should, imo, already be taken care of [by the driver you are using]. -- Regards, James William Pye