From 3f41567e1d93b17615cf9e4ea837a8ddc6941082 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Mon, 10 Apr 2017 16:43:21 +0200
Subject: [PATCH] Fixes #5474 Added missing comma

---
 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 fea4f7fd3..3e88957db 100644
--- a/contrib/bin/fusiondirectory-setup
+++ b/contrib/bin/fusiondirectory-setup
@@ -1483,7 +1483,7 @@ sub migrate_winstations
         my $newrdn = "cn=".$cn;
         my $dn_old = $entry->dn();
         my $dn_new = $entry->dn();
-        $dn_new =~ s/^[^,]+,[^,]+,[^,]+,/$newrdn,$workstationrdn/;
+        $dn_new =~ s/^[^,]+,[^,]+,[^,]+,/$newrdn,$workstationrdn,/;
         $entry->dn($dn_new);
         my @replace = ('fdWorkstation');
         my @classes = $entry->get_value('objectClass');
-- 
GitLab