From 2e11422ffc375939761df1d8c733907105546735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Mon, 9 Jan 2017 11:37:44 +0100 Subject: [PATCH] Fixes #5296 fixed dhcp migration regexp --- contrib/bin/fusiondirectory-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bin/fusiondirectory-setup b/contrib/bin/fusiondirectory-setup index 256636990..3259b6002 100644 --- a/contrib/bin/fusiondirectory-setup +++ b/contrib/bin/fusiondirectory-setup @@ -1454,7 +1454,7 @@ sub migrate_dhcp { } else { if (ask_yn_question("Move these entries to the DHCP branch ($dhcprdn)?")) { foreach my $entrydn (@baddns) { - $entrydn =~ m/^([^,]+),(cn=(.+),$systemrdn,(.+))$/ or die "Could not parse dn ".$entrydn."\n"; + $entrydn =~ m/^([^,]+),(cn=([^,]+),.*$systemrdn,(.+))$/ or die "Could not parse dn ".$entrydn."\n"; my $rdn = $1; my $systemdn = $2; my $systemcn = $3; -- GitLab