lists.arthurdejong.org
RSS feed

Re: [nssldap] nss netgroup host support in linux

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: [nssldap] nss netgroup host support in linux



On 14-09-2007 08.43 +0200, Klaus Steinberger wrote:
> Hi Julie,
> 
> Which RHEL version did you use for the server? I know older versions of 
> nss_ldap didn't support netgroup, but I do not know if this versions are in 
> some RHEL releases. 
> 
> My servers are SL 4.4 / SL 4.5 and SL 5.0 (the versions numbers relate 
> directly to RHEL, SL 4.4 == RHEL 4 update 4). I'm not yet sure about 4.3 but 
> I didn't use older versions like 4.2 or before.
> 
> There is nothing special in /etc/ldap.conf about netgroup. Also nothing 
> special in nsswitch.conf, just entries like:
> 
> netgroup:     files ldap
> 
> There is no /etc/netgroup file.

The problematic server is running CentOS4, nss_ldap v. 226-18:
$ rpm -q --queryformat '%{ARCH}\n' nss_ldap-226-18
i386
x86_64

I duplicated my ldap installation on an CentOS5 server, and 
netgroups worked w/o error.

Since I inherited this CentOS4 server, its possible that the
problem is not with openldap, or nss_ldap.
If I had copious spare time, I would install the ldap config
on a new CentOS4 insallation.

Just one more question:
If nss_ldap is broken on my system, then would the following work?:

$ getent netgroup test

(It does return the correct information from the ldap server).

Thank you Klaus, for all your time and attention.

(just fyi, I lived and worked in Munich for 1.5 years for a small
ISP named Cybernet AG. It was a good time - until the company 
went bankrupt ;P.)

Thanks again,
Julie

-- 
Julie Ashworth (julie@ls.berkeley.edu, 510-643-8747)
Letters & Sciences Computer Resources, University of CA, Berkeley 
<http://LS.berkeley.edu/lscr/>
PGP Key ID: 0x17F013D2