From: janw Date: Mon, 19 May 2008 13:02:38 +0000 (+0000) Subject: Don't use entry with wildcard mac address as server_dn X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=10d7a168436b77cfec6fdc28c7c348a8aa546b49;p=gosa.git Don't use entry with wildcard mac address as server_dn git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10954 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/ClientPackages.pm b/gosa-si/modules/ClientPackages.pm index 1924f5a1e..ec549253d 100644 --- a/gosa-si/modules/ClientPackages.pm +++ b/gosa-si/modules/ClientPackages.pm @@ -92,7 +92,7 @@ if((not defined($main::gosa_unit_tag)) || length($main::gosa_unit_tag) == 0) { filter => "(macaddress=$main::server_mac_address)" ); - if ($mesg->count == 1) { + if ((! $main::server_mac_address eq "00:00:00:00:00:00") and $mesg->count == 1) { my $entry= $mesg->entry(0); my $unit_tag= $entry->get_value("gosaUnitTag"); $main::ldap_server_dn= $mesg->entry(0)->dn;