From e742e08736b66491288886d6dba3b380eff0c499 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Mon, 10 Apr 2017 17:03:03 +0200
Subject: [PATCH] Fixes #5178 Removing argonautLdap2zoneAllowNotify from
 migrated servers

---
 contrib/bin/fusiondirectory-setup | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/bin/fusiondirectory-setup b/contrib/bin/fusiondirectory-setup
index 3e88957db..291df4dfc 100644
--- a/contrib/bin/fusiondirectory-setup
+++ b/contrib/bin/fusiondirectory-setup
@@ -1422,6 +1422,9 @@ sub migrate_systems {
             }
             $entry->delete('gotoMode');
           }
+          if ($entry->exists('argonautLdap2zoneAllowNotify')) {
+            $entry->delete('argonautLdap2zoneAllowNotify');
+          }
           $mesg = $ldap->add($entry);
           if ($mesg->code) {
             print $entry->dn().": ".$mesg->error."\n";
-- 
GitLab