Are you able to connect using 389 port manually. Most probably the provided 
credentials or configuration might be wrong. Hope you already checked manually 
if not Can you please confirm by manually connecting from ldap client with 
below details to your ldap server.

Regards
sadhu

-----Original Message-----
From: Dean Kamali [mailto:[email protected]] 
Sent: 16 July 2013 01:35
To: [email protected]
Subject: Re: openldap and cloudstack

okay, I have been trying to excite the following in my browser

http://10.0.10.5:8080/client/api?command=ldapConfig&hostname=10.0.10.43&searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorp&queryfilter=%28%26%28uid%3D%25u%29%29&binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorp&bindpass=password&port=389&response=json
<http://10.0.10.5:8080/client/api?command=ldapConfig&hostname=10.0.10.43&searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorp&queryfilter=%28%26%28uid%3D%25u%29%29&binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorp&bindpass=rootboot&port=389&response=json>

where 10.0.10.5 is my CloudStack Management server and 10.0.10.43 is the 
OpenLDAP server


The response in the browser is

{ "ldapconfigresponse" : {"errorcode":401,"errortext":"unable to verify user 
credentials and/or request signature"} }


Any ideas on what do I need to check?


Thanks



On Mon, Jul 15, 2013 at 11:35 AM, Dean Kamali <[email protected]> wrote:

> In fact, I will set it up today, and let you guys know
>
>
> On Mon, Jul 15, 2013 at 11:33 AM, Gavin Henry <[email protected]>wrote:
>
>> > Installation of OpenLDAP:
>> > http://imduffy15.blogspot.ie/2013/06/setting-up-openldap-server.htm
>> > l
>>
>> Hi all,
>>
>> If you're doing this for a production system please don't use any 
>> distro bundled version of OpenLDAP especially on Red Hat and CentOS 
>> distros. Debian isn't too bad and either is Ubuntu. Please get a 
>> proper up to date version from:
>>
>> http://ltb-project.org/wiki/download
>>
>> Thanks,
>>
>> Gavin. ([email protected])
>>
>> --
>> Kind Regards,
>>
>> Gavin Henry.
>> Managing Director.
>>
>> T +44 (0) 1224 279484
>> M +44 (0) 7930 323266
>> F +44 (0) 1224 824887
>> E [email protected]
>>
>> Open Source. Open Solutions(tm).
>>
>> http://www.suretecsystems.com/
>>
>> Suretec Systems is a limited company registered in Scotland. 
>> Registered
>> number: SC258005. Registered office: 24 Cormack Park, Rothienorman, 
>> Inverurie, Aberdeenshire, AB51 8GL.
>>
>> Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html
>>
>> Do you know we have our own VoIP provider called SureVoIP? See 
>> http://www.surevoip.co.uk
>>
>> Did you see our API? http://www.surevoip.co.uk/api
>>
>
>

Reply via email to