Code

Removed unused LDAP references.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Apr 2008 06:23:43 +0000 (06:23 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Apr 2008 06:23:43 +0000 (06:23 +0000)
closes #386.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10098 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/ArpHandler.pm

index 3bc46cfd05861f2cd89c61a5bc51aba0bb9cf017..ded762b9ee085495d29acaf85174d64006029e46 100644 (file)
@@ -94,14 +94,7 @@ sub get_module_info {
                                &main::daemon_log("Loading OUI cache file suceeded!", 6);
                        }
                }
-        my $ldap_handle = &main::get_ldap_handle();
-               if(defined($ldap_uri) && length($ldap_uri)>0) {
-                       if (!$ldap_handle) {
-                               &main::daemon_log("Could not connect to LDAP Server at $ldap_uri!\n$@", 1);
-                       }
-               } else {
-                       $ldap_handle= undef;
-               }
+               my $ldap_handle = &main::get_ldap_handle();
 
                # When interface is not configured (or 'all'), start arpwatch on all possible interfaces
                if ((!defined($arp_interface)) || $arp_interface eq 'all') {