From owner-freebsd-security@FreeBSD.ORG Sat Sep 24 12:03:33 2011 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82C101065675; Sat, 24 Sep 2011 12:03:33 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 43CD18FC18; Sat, 24 Sep 2011 12:03:33 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 793391FFC35; Sat, 24 Sep 2011 12:03:32 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 6506484498; Sat, 24 Sep 2011 14:03:32 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Lev Serebryakov References: <679126918.20110922121706@serebryakov.spb.ru> <86d3esy554.fsf@ds4.des.no> <964986730.20110923230802@serebryakov.spb.ru> Date: Sat, 24 Sep 2011 14:03:32 +0200 In-Reply-To: <964986730.20110923230802@serebryakov.spb.ru> (Lev Serebryakov's message of "Fri, 23 Sep 2011 23:08:02 +0400") Message-ID: <86r5369mgb.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-security@freebsd.org Subject: Re: pam_ldap and nss_ldap : checken and egg problem with "wheel" group and "su" utility X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 12:03:33 -0000 Lev Serebryakov writes: > Dag-Erling writes: > > Did you try changing the priority in /etc/nsswitch.conf? > It gives very long boot time, as nss_ldap waits for answer from > non-started server, again and again, etc. The only solution I can think of is to try to figure out how to reduce or eliminate this delay, because the system is doing exactly what you asked it to, i.e. treating /etc/group as authoritative and using LDAP only for groups it can't find there. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no