hmm, basically escape every character.
for exampel for a \\ you'd need \\\\ (makes it 4 ;) )
and the same for the ampersand \&

regards, Achim


2013/9/22 Marcos Mendez <[email protected]>

> does anyone know how to escape strings with propset?
>
> i'm trying to set something like...
>
> config:propset user.search.base
> ou=users\\,dc=security\\,dc=company-rg\\,dc=com
> config:propset user.search.filter (&(objectClass=companypserson)(uid={0}))
>
> but they come out as
>
> ou=users\,dc=security\,dc=company-rg\,dc=com
>
> and
>
> aimperson)(uid={0})
>
> thanks!




-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to