Kolab 3.1 Mutidomain script error

Gelpi Andrea liste at gelpi.it
Thu Jan 16 13:29:44 CET 2014


Hi,
	on a fresh debian 7.3 I installed kolab 3.1.

After setup-kolab I run a script to modify my system to accept mutidomain.

I used:

https://github.com/tpokorra/kolab3_tbits_scripts/blob/master/kolab3.1/initMultiDomain.sh

I got 2 errors at lines 87 and 92: file does not exist.

Infact in my system I have /etc/koab-freebusy/config.ini and not 
/usr/share/kolab-freebusy/config/config.ini

I modify the script and rerun the two lines.

The first is now OK.


The other one does not match.

sed -r -i -e 's#bind_dn = (.*)#bind_dn = "\1"#g' 
/etc/kolab-freebusy/config.ini

I try this one, that match

sed -r -i -e 's#bind_dn = .*#bind_dn = "\1"#g' 
/etc/kolab-freebusy/config.ini


but I get this error:

sed: -e expression #1, char 31: invalid reference \1 on `s' command's RHS

Line 31 in config.ini is:

bind_dn = ""uid=kolab-service,ou=Special Users,dc=gelpi,dc=it""

How can I fix it?

-- 
Andrea Gelpi


More information about the users mailing list