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 8AC419DCA39 for ; Wed, 22 Feb 2006 17:25:41 -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 82336-09 for ; Wed, 22 Feb 2006 17:25:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx1.surnet.cl (mx1.surnet.cl [216.155.73.180]) by postgresql.org (Postfix) with ESMTP id 1BBD69DCA95 for ; Wed, 22 Feb 2006 17:06:53 -0400 (AST) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx1.surnet.cl with ESMTP; 22 Feb 2006 18:27:45 -0300 X-IronPort-AV: i="4.02,137,1139194800"; d="scan'208"; a="39781079:sNHT18614064" Received: from alvh.no-ip.org (216.155.79.134) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD007E9697; Wed, 22 Feb 2006 18:06:51 -0300 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 56905C2C2DD; Wed, 22 Feb 2006 18:06:54 -0300 (CLST) Date: Wed, 22 Feb 2006 18:06:54 -0300 From: Alvaro Herrera To: Josh Close , pgsql-interfaces@postgresql.org Subject: Re: protocol, md5 authentication Message-ID: <20060222210654.GC5459@surnet.cl> Mail-Followup-To: Josh Close , pgsql-interfaces@postgresql.org References: <4a0cafe20602220622g77666533k7564b439e83ce55@mail.gmail.com> <20060222163010.GA13550@lit.jwp.name> <4a0cafe20602220853gc1da9a4gb91d8f3711cb4e50@mail.gmail.com> <20060222185516.GA14399@lit.jwp.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060222185516.GA14399@lit.jwp.name> User-Agent: Mutt/1.5.11+cvs20060126 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.246 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, RCVD_IN_NJABL_PROXY=0.327] X-Spam-Score: 2.246 X-Spam-Level: ** X-Archive-Number: 200602/79 X-Sequence-Number: 6043 James William Pye wrote: > 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. That code can be seen here: http://projects.commandprompt.com/projects/public/pgsql/browser/trunk/pgsql/src/interfaces/libpq/ -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.