FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

LinkBack Thread Tools
Old 09-25-2008, 04:59 AM
Pierangelo Masarati
Default Need to escape space when adding referrals from scripts?

Ryan Braun [ADS] wrote:

I have a perl script I've been working on to setup replication. The
replication works great for replication from master to master. But
I've been running into problems with dedicated consumers and their

If I disable the add_replical_referral sub in my script, and let fds
handle the referrals on the fly it works (go figure ). But it
doesn't set it up how I want so I need to customize it. It seems
like when I set the referrals manually via perl, the space in the
url of the referal is causing the whole dn of the update to get
truncated as soon as it detects a space. Here is what I mean.

The syntax of the "ref" attribute is labeledURI. This consists in a URI
and an optional label, separated by a blank. The URI must have special
chars, which include spaces, URL-escaped (e.g. spaces must be "%20").


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando@sys-net.it

Fedora-directory-users mailing list

Thread Tools

All times are GMT. The time now is 05:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org