[Date Prev][Date Next]
Re: Deleting a DN with leading Space Character
* Garry Thomas
| I've tried "escaping" the space with a backslash, and a few other
| ideas (like using quotes all over the place), but I can't get rid
| of it...
You need to Base64 encode the value. The following perl snippet will
give you what you're looking for:
: iago ~$ perl -MMIME::Base64 -e 'print encode_base64("uid= username,dc=foo,dc=bar")'
And this should give you the following DN: