[CentOS] Howto for LDAP authentication with replication

Fri Jan 11 14:39:18 UTC 2008
Craig White <craigwhite at azapple.com>

On Thu, 2008-01-10 at 22:10 -0600, Sean Carolan wrote:
> On Jan 10, 2008 6:38 PM, Craig White <craigwhite at azapple.com> wrote:
> > On Thu, 2008-01-10 at 14:40 -0600, Sean Carolan wrote:
> > > Can anyone point me to a how to or beginners guide to setting up LDAP
> > > authentication on CentOS5 with replication?
> > ----
> > well, if you want something that's comprehensive, I probably can't offer
> > much.
> 
> Thanks for the pointers, Craig.  I'm finding that web documentation
> for LDAP authentication on CentOS is extremely sparse and/or
> inaccurate.  Here's what I've been able to do so far:
> 
> *  Get slapd up and running
> *  Import my /etc/passwd, /etc/shadow, /etc/group using the migration scripts
> *  Run commands like "ldapsearch -x -D "cn=Admin,dc=example,dc=com"
> -W, which successfully connects and gets info from slapd
> 
> I would like to use Webmin to manage this, but unfortunately Webmin
> doesn't seem to find any ldap users or groups.  Anyone else have
> experience getting this to work?
----
sure, I use webmin's LDAP Users and Groups module on every network
server that I maintain. It's perfect for my needs.

The first question that occurs to me is if you did all that. When you do
'getent passwd' does each user in LDAP show up? Remember that if you
still have a user in /etc/passwd and in LDAP (which would be a fatal
setup), they would actually appear twice.

Craig