Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to add a referral object in openldap that points to a DN in the remote server that has a space in one of the container names, something like this

ref: ldap://ldap3.example.com/ou=test ou,dc=example,dc=net

This seems to be causing a problem, what is the syntax for "escaping" spaces within ldif files, backslash before the space? whole attribute value within quotes?

Thanks for the help

share|improve this question

1 Answer 1

I know this is an old thread but maybe this'll help someone... replacing space characters with %20 worked for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.