[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Weird behavior



On Tue, Apr 1, 2008 at 6:08 PM, Rick Stevens <rps2@socal.rr.com> wrote:
> Hi.  I've got a weird one for you.
>
>  System: CentOS 5, kernel 2.6.18-53.1.4 64-bit
>  OpenLDAP: openldap-2.3.27 from RPM (openldap-servers-2.3.27-8.el5_1.3)
>
>  I'm using OpenLDAP for authentication via pam_ldap and this is going
>  to be the secondary server (if I can ever get replication to work).
>
>  However, that's not the issue right now.  This machine won't start LDAP
>  unless I remove the "ldap" part from the "group" line of
>  /etc/nsswitch.conf.
>
>  Won't start:
>         group:      files ldap
>
>  Will start:
>         group:      files
>
>  There are no log messages indicating a problem.  slapd simply won't
>  start.  Has anyone ever heard of such a screwup and if so, any ideas
>  as to what the fark is going on?

nss_ldap issue, easiest solution for now is to add:
bind_policy soft

to /etc/ldap.conf

Regards,
Buchan