cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ldaps

From: Alex Bligh <alex_at_alex.org.uk>
Date: Tue, 31 May 2016 22:47:17 +0100

On 31 May 2016, at 20:55, Fred Jone <fj288_at_mail.com> wrote:

> Have user that has a $ and/or a & sign in password and getting invalid credentials. I tried changing the $ to /$ and %24 in the password
> but still getting error. See command being sent.
>
> /usr/bin/curl "ldaps://ldap-prd.somesite.com:636/dc=somesite,dc=local" --cacert /etc/cacerts/somesiteAD.crt --stderr /tmp/1768469350 -v -u "somesite\803778:EHfeb$00" 2>&1

Use single quotes not double quotes so the shell does not interpolate $ etc.

-- 
Alex Bligh
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-31