I'm running OpenLDAP 2.2.4 but only with "-h ldaps:/// "

I believe I've configured the tools correctly but when running 'usershow' I get the following:

[EMAIL PROTECTED] smbldap-tools-0.8.3]# ./smbldap-usershow ritchiem
Can't contact LDAP server at /home/root/dev/smbldap-tools-0.8.3//smbldap_tools.pm line 597, <DATA> line 283.



The config file is thus:


slaveLDAP="ki-19.kelvininstitute.com"
slavePort="636"
masterLDAP="ki-19.kelvininstitute.com"
masterPort="636"
ldapTLS="1"

clientcert="/etc/smbldap-tools/smbldap-tools.pem"
clientkey="/etc/smbldap-tools/smbldap-tools.key"
cafile="/etc/smbldap-tools/ca.pem"

slaveURI="ldaps://$slaveLDAP:$slavePort"
masterURI="ldaps://$masterLDAP:$masterPort"



The thing is if I run the server -h ldap:/// and so adjust the ports and TLS everything works fine.

Any assistance you guys can offer would be great. I know the output above is not very helpfull but neither was the strace output. It just opens various perl files then stops.

If anyone has any suggestions for tools to create LDAP posix/samba users or an approach for debugging the tools that too would be really good.


Cheers





-- Martin Ritchie

the Kelvin Institute
50, George Street
Glasgow
Scotland, UK
G1 1QE

www.kelvininstitute.com
+44 (0) 141 548 5719

Reply via email to