Okay I have removed my module load, checked with slapd –VVV that all the 
modules I want are statically loaded.
Rebuilt the initial load
Started slapd
Tried ldapsearch … failed

ldapsearch -b 'cn=config'
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)


But I can

ldapsearch  -H ldap:/// -b 'cn=config' -D 'cn=config' -x –w <PASSWORD>

ldapsearch  -H ldapi:/// -b 'cn=config' -D 'cn=config' -x –w <PASSWORD>
failed

I worked it out as I was writing this, so I will leave this for somebody else 
who might have the same problem.

ldapsearch uses /var/run/ldapi by default this slapd use 
/usr/local/openldap/var/run/ldapi

My ldapsearch comes from centos openldap-clients-2.4.23-34.el6_5.1.x86_64

So just going to change /etc/default/slapd
SLAPD_SERVICES="ldapi://%2Fvar%2Frun%2Fldapi ldap://$IP:$PORT";


thanks

Alex



From: ltb-users-boun...@lists.ltb-project.org 
[mailto:ltb-users-boun...@lists.ltb-project.org] On Behalf Of Alex Samad - 
Yieldbroker
Sent: Saturday, 19 April 2014 5:50 PM
To: Clément OUDOT
Cc: ltb-users@lists.ltb-project.org
Subject: Re: [Ltb-users] Help new install

Argh I see, I am trying to take my install script over from the centos build to 
this build !

A

From: Clément OUDOT [mailto:clem.ou...@gmail.com]
Sent: Friday, 18 April 2014 9:37 PM
To: Alex Samad - Yieldbroker
Cc: ltb-users@lists.ltb-project.org<mailto:ltb-users@lists.ltb-project.org>
Subject: Re: [Ltb-users] Help new install



2014-04-18 5:22 GMT+02:00 Alex Samad - Yieldbroker 
<alex.sa...@yieldbroker.com<mailto:alex.sa...@yieldbroker.com>>:
Hi

Saw the reply in the archive it didn't make it to me !

I am using ldapi:// to connect to cn=config

Not sure your slapadd command had work, because in cn=modules, you refer to 
modules outside LTB package.

Clément.
_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to