Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 20:11:57 +0100
From:      Greg Byshenk <freebsd@byshenk.net>
To:        Linghua Tseng <uranus@tinlans.org>
Cc:        "Peter C. Lai" <peter@simons-rock.edu>, freebsd-stable@freebsd.org
Subject:   Re: Supplementary groups on LDAP cannot work with RELENG_8 +nss_ldap
Message-ID:  <20100309191157.GG2303@core.byshenk.net>
In-Reply-To: <80F42CAF32A14A1FB43B830AAF877A5A@TinlansPC>
References:  <F3B6FDBA2D4E44E49C4DFC8CA2F3A182@TinlansPC> <20100309000826.GF4648@cesium.hyperfine.info> <80F42CAF32A14A1FB43B830AAF877A5A@TinlansPC>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 09, 2010 at 09:00:49AM +0800, Linghua Tseng wrote:
 
> Here is the output of `diff -u /usr/src/etc/nsswitch.conf 
> /etc/nsswitch.conf'.
> --- /usr/src/etc/nsswitch.conf  2010-03-08 09:04:25.000000000 +0800
> +++ /etc/nsswitch.conf  2010-03-08 18:01:08.000000000 +0800
> @@ -1,13 +1,13 @@
> #
> # nsswitch.conf(5) - name service switch configuration file
> -# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1 2009/08/03 08:13:06 kensmith 
> Exp $
> +# $FreeBSD: src/etc/nsswitch.conf,v 1.1 2006/05/03 15:14:47 ume Exp $
> #
> group: compat
> -group_compat: nis
> +group_compat: ldap nis
> hosts: files dns
> networks: files
> passwd: compat
> -passwd_compat: nis
> +passwd_compat: ldap nis
> shells: files
> services: compat
> services_compat: nis
> 
> The line `+:*::::::::' has already put into /etc/master.passwd,
> and the line `+:*::' has already put into /etc/group.

I may be completely wrong (I can't seem to find the source), and I
don't know if it is the source of your problem, but I recall it being
reported that 'passwd_compat' and 'group_compat' require a *single*
source entry. 


-- 
greg byshenk  -  gbyshenk@byshenk.net  -  Leiden, NL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100309191157.GG2303>