public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unable to emerge with nss_ldap in use.
@ 2006-11-04 13:37 Qian Qiao
  0 siblings, 0 replies; only message in thread
From: Qian Qiao @ 2006-11-04 13:37 UTC (permalink / raw
  To: Gentoo User List

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-04 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-04 13:37 [gentoo-user] Unable to emerge with nss_ldap in use Qian Qiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox