[Date Prev][Date Next]
Re: ldap auth
ok. Thanks for the reply.
I am using rh6.2, openldap 2.0.11, nss_ldap-150, pam_ldap-108 all from
base dc=foo, dc=com
passwd: files ldap
group: files ldap
shadow: files ldap
hosts: dns ldap
services: ldap [NOTFOUND=return] files
networks: ldap [NOTFOUND=return] files
protocols: ldap [NOTFOUND=return] files
rpc: ldap [NOTFOUND=return] files
ethers: ldap [NOTFOUND=return] files
I made the proper changes to the files in pam.d.
When I try to login syslog says "pam_ldap: ldap_simple_bind Can't
contact LDAP server". But I don't know why because if I simply type
"ldapsearch" the ldap server returns the users I put in the database.
Alex Vorobiev wrote:
> authconfig operates on files, so it doesn't matter whether you use RH
> openldap rpms or compile and install ldap yourself (as long as
> /etc/ldap.conf, /etc/nsswitch.conf, and /etc/pam.d files are located where
> to get more help, you will need to provide software versions you have
> installed (openldap, nss_ldap, your config, such as /etc/ldap.conf, and
> any changes you have made to your files.
> On Mon, May 28, 2001 at 01:00:15PM -0400, Andrew Crum wrote:
> > Has anyone got these two to work together?
> > I have followed every single document out there, but I
> > haven't any luck
> > getting it to work. I am trying to rid my network of nis and
> > move to a
> > central ldap solution, where all the users get there
> > /etc/passwd,
> > /etc/groups......from ldap.
> > On my client, I simply do "ldapsearch" and it returns
> > everything OK. But
> > when I try to login I get a syslog entry:
> > pam_ldap: ldap_simple_bind Can't contact LDAP server
> > Can someone please shed some light? I'm using rh62 but I'm
> > not using the
> > rpms, so I can't use authconfig.
> > Thanks,
> > Andrew Crum
> > I know I *should* be asking this in the pam_ldap mailing
> > lists, but there is
> > a LOT more support in this group.