From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GgLo0-0004xO-FO for garchives@archives.gentoo.org; Sat, 04 Nov 2006 13:43:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA4Df4vH019381; Sat, 4 Nov 2006 13:41:04 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA4Dc0wD004645 for ; Sat, 4 Nov 2006 13:38:01 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0FE91649A1 for ; Sat, 4 Nov 2006 13:38:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 required=5.5 tests=[BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7IIn5L6dehAv for ; Sat, 4 Nov 2006 13:37:53 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by smtp.gentoo.org (Postfix) with ESMTP id 1D140649C0 for ; Sat, 4 Nov 2006 13:37:49 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id h2so634065ugf for ; Sat, 04 Nov 2006 05:37:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XxdjI32gnpq2hPujUYermaLtwgGFGmqDT5Rv3at2CvSQgvD2MQxdMp/PyraZdBJgfBCz2K8Na5Ot/VxKTdCkAe504MsbDNNGCADsCOdDZ8omKZZcxJk/GqBHKYbwcD4hFOyTVpQ6LXerakDRqSDiydNFToU8rYUkv9MU84Gdu9U= Received: by 10.66.242.5 with SMTP id p5mr4351585ugh.1162647468677; Sat, 04 Nov 2006 05:37:48 -0800 (PST) Received: by 10.67.99.16 with HTTP; Sat, 4 Nov 2006 05:37:48 -0800 (PST) Message-ID: Date: Sat, 4 Nov 2006 13:37:48 +0000 From: "Qian Qiao" To: "Gentoo User List" Subject: [gentoo-user] Unable to emerge with nss_ldap in use. Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: de0ebe3f-229e-4a57-a79a-9a3b16f99ec9 X-Archives-Hash: 17d2ce76223f4224d4e4c0d6bc6b9717 Hi, I've come across this very strange problem. I have a few work stations configured to use pam_ldap and nss_ldap. The portage user and portage group are on the local machines, i.e, in /etc/passwd and /etc/group. with passwd: files ldap shadow: files ldap group: files ldap in /etc/nsswitch.conf "getent passwd" shows the protage user just fine, same goes for the portage group. However emerge will not work. If I emerge a package, it fails at downloading packages, looks like it doesn't have permission to write to /usr/portage/distfiles. setting /etc/nsswitch.conf to: passwd: compat shadow: compat group: compat will allow me to emerge packages, however, ldap users won't be able to log on. Have I done anything wrong? I did google for the answer, however, I wasn't able to find any. Any help will be greatly appreciated. -- Joe -- There are 3 kinds of people in the world: Those who can count, and those who can't. -- gentoo-user@gentoo.org mailing list