You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by dobropalka <do...@gmail.com> on 2015/01/21 13:53:49 UTC

cloudmonkey and ldap - auth error

Hello, guys!

I'm trying to enable LDAP via cloudmonkey.

Everything is ok until i try to set ldap.bind.password setting

When i call:

cloudmonkey updateConfiguration name=ldap.bind.password value="password*"

i am getting an error:

 

Error 401 Authentication error

errorcode = 401

errortext = unable to verify user credentials and/or request signature

uuidList:

 

if i use any other password, without symbol '*' everything works properly,
for example:

cloudmonkey updateConfiguration name=ldap.bind.password value="password"

works

any ideas?

 

Regards, 

Junior IT engineer

Farheap, Russia

Ivan Derbenev

 


Re: cloudmonkey and ldap - auth error

Posted by Rohit Yadav <ro...@shapeblue.com>.
Ian,

If that's the issue open a bug with more details and assign it to me or
email me and I'll help fix it.

On Saturday 28 February 2015 04:45 AM, Ian Forde wrote:
> As a followup to this (just thinking about it) I’m wondering if this is
> the same issue that I reported a while back, where it’s not really
> cloudmonkey that has the issue - but rather the API.  In my situation, any
> password with ‘<‘ or ‘>’ in it got url-encoded, causing the password check
> to fail…
>
>    -I
>
> On 2/4/15, 1:21 AM, "Rohit Yadav" <ro...@shapeblue.com> wrote:
>
>> Okay I see the single quotes did not work for you as well. Can you try
>> to remove CloudMonkey, update pip to the latest version and try
>> re-installing with:
>>
>> pip install --upgrade cloudmonkey
>>
>> Are you able to reproduce this on a different CentOS machine?
>>
>> On Thursday 29 January 2015 05:00 PM, dobropalka wrote:
>>> CentOS 6
>>> Bash
>>> Cloudmonkey v5.3.0
>>> Can't run it either from shell, or from interpreter mode
>>>
>>> -----Original Message-----
>>> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com]
>>> Sent: Wednesday, January 21, 2015 5:18 PM
>>> To: users@cloudstack.apache.org
>>> Subject: Re: cloudmonkey and ldap - auth error
>>>
>>> Hi Dopropalka,
>>>
>>> Can you share which version of CloudMonkey you’re running, on which OS
>>> and which shell are you using to do this?
>>> If you run this in interpreter mode (instead of running on your shell),
>>> do you get the same result?
>>>
>>> Regards.
>>>
>>>> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>>>>
>>>> Hello, guys!
>>>>
>>>> I'm trying to enable LDAP via cloudmonkey.
>>>>
>>>> Everything is ok until i try to set ldap.bind.password setting
>>>>
>>>> When i call:
>>>>
>>>> cloudmonkey updateConfiguration name=ldap.bind.password
>>>> value="password*"
>>>>
>>>> i am getting an error:
>>>>
>>>>
>>>>
>>>> Error 401 Authentication error
>>>>
>>>> errorcode = 401
>>>>
>>>> errortext = unable to verify user credentials and/or request signature
>>>>
>>>> uuidList:
>>>>
>>>>
>>>>
>>>> if i use any other password, without symbol '*' everything works
>>>> properly, for example:
>>>>
>>>> cloudmonkey updateConfiguration name=ldap.bind.password
>>>> value="password"
>>>>
>>>> works
>>>>
>>>> any ideas?
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Junior IT engineer
>>>>
>>>> Farheap, Russia
>>>>
>>>> Ivan Derbenev
>>>>
>>>>
>>>>
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>>
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related
>>> services
>>>
>>> IaaS Cloud Design &
>>> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>>> CloudStack Software
>>> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>>> CloudStack Infrastructure
>>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>>> CloudStack Bootcamp Training
>>> Courses<http://shapeblue.com/cloudstack-training/>
>>>
>>> This email and any attachments to it may be confidential and are
>>> intended solely for the use of the individual to whom it is addressed.
>>> Any views or opinions expressed are solely those of the author and do
>>> not necessarily represent those of Shape Blue Ltd or related companies.
>>> If you are not the intended recipient of this email, you must neither
>>> take any action based upon its contents, nor copy or show it to anyone.
>>> Please contact the sender if you believe you have received this email in
>>> error. Shape Blue Ltd is a company incorporated in England & Wales.
>>> ShapeBlue Services India LLP is a company incorporated in India and is
>>> operated under license from Shape Blue Ltd. Shape Blue Brasil
>>> Consultoria Ltda is a company incorporated in Brasil and is operated
>>> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
>>> registered by The Republic of South Africa and is traded under license
>> >from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>>
>>
>> --
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 8826230892 | rohit.yadav@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>> PS. If you see any footer below, I did not add it :)
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design &
>> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software
>> Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure
>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training
>> Courses<http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views
>> or opinions expressed are solely those of the author and do not
>> necessarily represent those of Shape Blue Ltd or related companies. If
>> you are not the intended recipient of this email, you must neither take
>> any action based upon its contents, nor copy or show it to anyone. Please
>> contact the sender if you believe you have received this email in error.
>> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>> Services India LLP is a company incorporated in India and is operated
>> under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>> a company incorporated in Brasil and is operated under license from Shape
>> Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
>> South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>> is a registered trademark.
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: cloudmonkey and ldap - auth error

Posted by Ian Forde <if...@marketo.com>.
As a followup to this (just thinking about it) I’m wondering if this is
the same issue that I reported a while back, where it’s not really
cloudmonkey that has the issue - but rather the API.  In my situation, any
password with ‘<‘ or ‘>’ in it got url-encoded, causing the password check
to fail…

  -I

On 2/4/15, 1:21 AM, "Rohit Yadav" <ro...@shapeblue.com> wrote:

>Okay I see the single quotes did not work for you as well. Can you try
>to remove CloudMonkey, update pip to the latest version and try
>re-installing with:
>
>pip install --upgrade cloudmonkey
>
>Are you able to reproduce this on a different CentOS machine?
>
>On Thursday 29 January 2015 05:00 PM, dobropalka wrote:
>> CentOS 6
>> Bash
>> Cloudmonkey v5.3.0
>> Can't run it either from shell, or from interpreter mode
>>
>> -----Original Message-----
>> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com]
>> Sent: Wednesday, January 21, 2015 5:18 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: cloudmonkey and ldap - auth error
>>
>> Hi Dopropalka,
>>
>> Can you share which version of CloudMonkey you’re running, on which OS
>>and which shell are you using to do this?
>> If you run this in interpreter mode (instead of running on your shell),
>>do you get the same result?
>>
>> Regards.
>>
>>> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>>>
>>> Hello, guys!
>>>
>>> I'm trying to enable LDAP via cloudmonkey.
>>>
>>> Everything is ok until i try to set ldap.bind.password setting
>>>
>>> When i call:
>>>
>>> cloudmonkey updateConfiguration name=ldap.bind.password
>>>value="password*"
>>>
>>> i am getting an error:
>>>
>>>
>>>
>>> Error 401 Authentication error
>>>
>>> errorcode = 401
>>>
>>> errortext = unable to verify user credentials and/or request signature
>>>
>>> uuidList:
>>>
>>>
>>>
>>> if i use any other password, without symbol '*' everything works
>>> properly, for example:
>>>
>>> cloudmonkey updateConfiguration name=ldap.bind.password
>>>value="password"
>>>
>>> works
>>>
>>> any ideas?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Junior IT engineer
>>>
>>> Farheap, Russia
>>>
>>> Ivan Derbenev
>>>
>>>
>>>
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related
>>services
>>
>> IaaS Cloud Design &
>>Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software
>>Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure
>>Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training
>>Courses<http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are
>>intended solely for the use of the individual to whom it is addressed.
>>Any views or opinions expressed are solely those of the author and do
>>not necessarily represent those of Shape Blue Ltd or related companies.
>>If you are not the intended recipient of this email, you must neither
>>take any action based upon its contents, nor copy or show it to anyone.
>>Please contact the sender if you believe you have received this email in
>>error. Shape Blue Ltd is a company incorporated in England & Wales.
>>ShapeBlue Services India LLP is a company incorporated in India and is
>>operated under license from Shape Blue Ltd. Shape Blue Brasil
>>Consultoria Ltda is a company incorporated in Brasil and is operated
>>under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
>>registered by The Republic of South Africa and is traded under license
>>from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>
>--
>Regards,
>Rohit Yadav
>Software Architect, ShapeBlue
>M. +91 8826230892 | rohit.yadav@shapeblue.com
>Blog: bhaisaab.org | Twitter: @_bhaisaab
>PS. If you see any footer below, I did not add it :)
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>CloudStack Software
>Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>CloudStack Infrastructure
>Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>CloudStack Bootcamp Training
>Courses<http://shapeblue.com/cloudstack-training/>
>
>This email and any attachments to it may be confidential and are intended
>solely for the use of the individual to whom it is addressed. Any views
>or opinions expressed are solely those of the author and do not
>necessarily represent those of Shape Blue Ltd or related companies. If
>you are not the intended recipient of this email, you must neither take
>any action based upon its contents, nor copy or show it to anyone. Please
>contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>a company incorporated in Brasil and is operated under license from Shape
>Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
>South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>is a registered trademark.


Re: cloudmonkey and ldap - auth error

Posted by Rohit Yadav <ro...@shapeblue.com>.
Okay I see the single quotes did not work for you as well. Can you try
to remove CloudMonkey, update pip to the latest version and try
re-installing with:

pip install --upgrade cloudmonkey

Are you able to reproduce this on a different CentOS machine?

On Thursday 29 January 2015 05:00 PM, dobropalka wrote:
> CentOS 6
> Bash
> Cloudmonkey v5.3.0
> Can't run it either from shell, or from interpreter mode
>
> -----Original Message-----
> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com]
> Sent: Wednesday, January 21, 2015 5:18 PM
> To: users@cloudstack.apache.org
> Subject: Re: cloudmonkey and ldap - auth error
>
> Hi Dopropalka,
>
> Can you share which version of CloudMonkey you’re running, on which OS and which shell are you using to do this?
> If you run this in interpreter mode (instead of running on your shell), do you get the same result?
>
> Regards.
>
>> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>>
>> Hello, guys!
>>
>> I'm trying to enable LDAP via cloudmonkey.
>>
>> Everything is ok until i try to set ldap.bind.password setting
>>
>> When i call:
>>
>> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"
>>
>> i am getting an error:
>>
>>
>>
>> Error 401 Authentication error
>>
>> errorcode = 401
>>
>> errortext = unable to verify user credentials and/or request signature
>>
>> uuidList:
>>
>>
>>
>> if i use any other password, without symbol '*' everything works
>> properly, for example:
>>
>> cloudmonkey updateConfiguration name=ldap.bind.password value="password"
>>
>> works
>>
>> any ideas?
>>
>>
>>
>> Regards,
>>
>> Junior IT engineer
>>
>> Farheap, Russia
>>
>> Ivan Derbenev
>>
>>
>>
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: cloudmonkey and ldap - auth error

Posted by Rohit Yadav <ro...@shapeblue.com>.
I tested on CentOS6, it works for me. Can you try with single quotes as
on most environments double quoted strings are evaluated by shells.

Try this:

cloudmonkey update configuration name=ldap.bind.password value='password*'

On Thursday 29 January 2015 05:00 PM, dobropalka wrote:
> CentOS 6
> Bash
> Cloudmonkey v5.3.0
> Can't run it either from shell, or from interpreter mode
>
> -----Original Message-----
> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com]
> Sent: Wednesday, January 21, 2015 5:18 PM
> To: users@cloudstack.apache.org
> Subject: Re: cloudmonkey and ldap - auth error
>
> Hi Dopropalka,
>
> Can you share which version of CloudMonkey you’re running, on which OS and which shell are you using to do this?
> If you run this in interpreter mode (instead of running on your shell), do you get the same result?
>
> Regards.
>
>> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>>
>> Hello, guys!
>>
>> I'm trying to enable LDAP via cloudmonkey.
>>
>> Everything is ok until i try to set ldap.bind.password setting
>>
>> When i call:
>>
>> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"
>>
>> i am getting an error:
>>
>>
>>
>> Error 401 Authentication error
>>
>> errorcode = 401
>>
>> errortext = unable to verify user credentials and/or request signature
>>
>> uuidList:
>>
>>
>>
>> if i use any other password, without symbol '*' everything works
>> properly, for example:
>>
>> cloudmonkey updateConfiguration name=ldap.bind.password value="password"
>>
>> works
>>
>> any ideas?
>>
>>
>>
>> Regards,
>>
>> Junior IT engineer
>>
>> Farheap, Russia
>>
>> Ivan Derbenev
>>
>>
>>
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

RE: cloudmonkey and ldap - auth error

Posted by dobropalka <do...@gmail.com>.
CentOS 6
Bash
Cloudmonkey v5.3.0
Can't run it either from shell, or from interpreter mode

-----Original Message-----
From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com] 
Sent: Wednesday, January 21, 2015 5:18 PM
To: users@cloudstack.apache.org
Subject: Re: cloudmonkey and ldap - auth error

Hi Dopropalka,

Can you share which version of CloudMonkey you’re running, on which OS and which shell are you using to do this?
If you run this in interpreter mode (instead of running on your shell), do you get the same result?

Regards.

> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>
> Hello, guys!
>
> I'm trying to enable LDAP via cloudmonkey.
>
> Everything is ok until i try to set ldap.bind.password setting
>
> When i call:
>
> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"
>
> i am getting an error:
>
>
>
> Error 401 Authentication error
>
> errorcode = 401
>
> errortext = unable to verify user credentials and/or request signature
>
> uuidList:
>
>
>
> if i use any other password, without symbol '*' everything works 
> properly, for example:
>
> cloudmonkey updateConfiguration name=ldap.bind.password value="password"
>
> works
>
> any ideas?
>
>
>
> Regards,
>
> Junior IT engineer
>
> Farheap, Russia
>
> Ivan Derbenev
>
>
>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: cloudmonkey and ldap - auth error

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Dopropalka,

Can you share which version of CloudMonkey you’re running, on which OS and which shell are you using to do this?
If you run this in interpreter mode (instead of running on your shell), do you get the same result?

Regards.

> On 21-Jan-2015, at 6:23 pm, dobropalka <do...@gmail.com> wrote:
>
> Hello, guys!
>
> I'm trying to enable LDAP via cloudmonkey.
>
> Everything is ok until i try to set ldap.bind.password setting
>
> When i call:
>
> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"
>
> i am getting an error:
>
>
>
> Error 401 Authentication error
>
> errorcode = 401
>
> errortext = unable to verify user credentials and/or request signature
>
> uuidList:
>
>
>
> if i use any other password, without symbol '*' everything works properly,
> for example:
>
> cloudmonkey updateConfiguration name=ldap.bind.password value="password"
>
> works
>
> any ideas?
>
>
>
> Regards,
>
> Junior IT engineer
>
> Farheap, Russia
>
> Ivan Derbenev
>
>
>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

RE: cloudmonkey and ldap - auth error

Posted by dobropalka <do...@gmail.com>.
Yep, still doesn't work with the same auth error


-----Original Message-----
From: Stephan Seitz [mailto:s.seitz@secretresearchfacility.com] 
Sent: Wednesday, January 21, 2015 5:05 PM
To: users@cloudstack.apache.org
Subject: Re: cloudmonkey and ldap - auth error

Ivan,

> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"

just to be sure your shell doesn't expand anything, have you already tried
single ticks?
e.g.

[...] value='password*'

cheers,

- Stephan



Re: cloudmonkey and ldap - auth error

Posted by Stephan Seitz <s....@secretresearchfacility.com>.
Ivan,

> cloudmonkey updateConfiguration name=ldap.bind.password value="password*"

just to be sure your shell doesn't expand anything, have you already
tried single ticks?
e.g.

[...] value='password*'

cheers,

- Stephan