Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 14:58:04 +0800
From:      "Linghua Tseng" <uranus@tinlans.org>
To:        "Greg Byshenk" <freebsd@byshenk.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Supplementary groups on LDAP cannot work with RELENG_8 +nss_ldap
Message-ID:  <E96770AD3CA74C9F8822F19375C60E91@TinlansPC>
In-Reply-To: <20100309191157.GG2303@core.byshenk.net>
References:  <F3B6FDBA2D4E44E49C4DFC8CA2F3A182@TinlansPC> <20100309000826.GF4648@cesium.hyperfine.info> <80F42CAF32A14A1FB43B830AAF877A5A@TinlansPC> <20100309191157.GG2303@core.byshenk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks.

I have tried to modify my /etc/nsswitch.conf to:

group: compat
group_compat: ldap
hosts: files dns
networks: files
passwd: compat
passwd_compat: ldap
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

But the problem is still occurred.

--------------------------------------------------
From: "Greg Byshenk" <freebsd@byshenk.net>
Sent: Wednesday, March 10, 2010 3:11 AM
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

> 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?E96770AD3CA74C9F8822F19375C60E91>