diff --git a/contrib/bin/fusiondirectory-setup b/contrib/bin/fusiondirectory-setup
index 32ef85f7250dff6aa1d44cb69e09a35389bf4dcd..61b5db31917f587c6347d8af495b61e595513b75 100644
--- a/contrib/bin/fusiondirectory-setup
+++ b/contrib/bin/fusiondirectory-setup
@@ -336,11 +336,17 @@ sub get_classes {
             # remove \n from the end of each line
             chomp $line;
 
-            # only process for lines beginning with "class", and extracting the 2nd word (the class name)
+            # process for lines beginning with "class", and extracting the 2nd word (the class name)
             if ( $line =~ /^class\s*(\w+).*/ ) {
               # adding the values (class name and file path) to the hash
               $classes_hash_result{$1} = $file;
             }
+
+            # process for lines beginning with "interface", and extracting the 2nd word (the interface name)
+            if ( $line =~ /^interface\s*(\w+).*/ ) {
+              # adding the values (class name and file path) to the hash
+              $classes_hash_result{$1} = $file;
+            }
           }
         }
     }