cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Miller <>
Subject ldapConfig API: Getting 401 unable to verify user credentials and/or request signature
Date Thu, 19 Jul 2012 02:36:28 GMT
Running CloudStack Management Server:
  [root@cumulus management]# uname -a
  Linux 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64
x86_64 x86_64 GNU/Linux
  [root@cumulus management]#
Hypervisor :
  XenServer v6.02


I am sure there is something not quite right with my syntax, but I can't isolate what it is.

I am trying to run ldapConfig API.

Here are the nonencoded variable values:


And, the LDAP bind dn password is SHA encrypted like so:


And, here is my final url:

The above url produces this error:

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

Is the SHA encryption of the bind dn password a problem?

Or, is there a problem with the queryfilter?
I am encodng it a bit before encoding the entire url and applying the signature. That is,
here is how the queryfilter looks before full encoding:

Initially I am translating the % and & before passing to my signing script - rather than
have my script deal with it.


Evan Miller

Citrix Systems. Inc.
Desktop and Cloud Engineering Infrastructure
4988 Great America Parkway
Santa Clara, CA 95054

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message