[wplug] nis replacement

Poyner, Brandon bpoyner at ccac.edu
Tue Mar 22 15:35:31 EST 2005


You'd still be using nsswitch.conf with LDAP.  The man pages are out of
date even on Fedora Core 3 but they do hint to the answer:

	For  glibc,  you  must have a file called
/lib/libnss_SERVICE.so.X for
      every SERVICE you are using. On a standard installation, you could
use
      'files',  'db',  'nis',  and  'nisplus'.

$ ls /lib/libnss_ldap*
/lib/libnss_ldap-2.3.3.so  /lib/libnss_ldap.so.2

When automount is called it would reference LDAP instead of
/etc/auto.misc if you had the line 'automount: ldap'

Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086

-----Original Message-----
From: wplug-bounces+bpoyner=ccac.edu at wplug.org
[mailto:wplug-bounces+bpoyner=ccac.edu at wplug.org] On Behalf Of John
Harrold
Sent: Tuesday, March 22, 2005 2:56 PM
To: General user list
Subject: Re: [wplug] nis replacement

Sometime in March Poyner, Brandon assaulted the keyboard and produced:

| Have you considered moving to LDAP?  

This is where my knowledge sort of runs up against a wall. How would
ldap
work in this case? Say I want to make /etc/auto.misc from a fileserver
available to workstations. How would autofs on a workstation know to
look
at an ldap server to get the that file (/etc/auto.misc)? I didn't see a
service specification for ldap in the man page for nsswitch.conf. So
would
autofs have to have some sort of built in support for ldap?

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 jmh at member.fsf.org      |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver pgp.mit.edu --recv-key F65A739E
----------------------------------------------------------




More information about the wplug mailing list