From owner-cvs-src Sat Feb 15 16:11: 8 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AD1937B401; Sat, 15 Feb 2003 16:11:06 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB7043FAF; Sat, 15 Feb 2003 16:11:05 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.7/8.12.7) with ESMTP id h1G0B3EJ073032; Sun, 16 Feb 2003 03:11:04 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.7/8.12.6/Submit) id h1G0B3e0073031; Sun, 16 Feb 2003 03:11:03 +0300 (MSK) (envelope-from ache) Date: Sun, 16 Feb 2003 03:11:02 +0300 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_opieaccess pam_opieaccess.c Message-ID: <20030216001101.GB72930@nagual.pp.ru> References: <200302152326.h1FNQnAr027546@repoman.freebsd.org> <20030215233943.GC72156@nagual.pp.ru> <20030215235556.GI72156@nagual.pp.ru> <20030216000711.GA72930@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030216000711.GA72930@nagual.pp.ru> User-Agent: Mutt/1.5.1i Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 16, 2003 at 03:07:12 +0300, Andrey A. Chernov wrote: > > To summarize it, localhost is "" for OPIE functions. Not NULL, not > "localhost" string. PAM code must be fixed to pass what OPIE expected, > i.e. "", instead of hacking OPIE code and config to do something unusual. I mean this code must be added before passing host to OPIE functions: if (host == NULL || strcasecmp(host, "localhost") == 0) host = ""; -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message