summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30e99fe)
raw | patch | inline | side by side (parent: 30e99fe)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:50:58 +0000 (12:50 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:50:58 +0000 (12:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8906 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history |
index 2dc40fffcda9cd991d534338e31ae4afe8e65098..ef5081e34f4a4c41c9bb964761201feb56be6dc5 100644 (file)
$server_mac_address= &get_mac($network_interface);
# Unit tag can be defined in config
-if(not defined($gosa_unit_tag) || length($gosa_unit_tag)==0) {
+if((not defined($gosa_unit_tag)) || length($gosa_unit_tag) == 0) {
# Read gosaUnitTag from LDAP
my $tmp_ldap= Net::LDAP->new($ldap_uri);
if(defined($tmp_ldap)) {
$gosa_unit_tag= $unit_tag;
}
$mesg = $tmp_ldap->unbind;
+ } else {
+ &main::daemon_log("Not using gosaUnitTag",8);
}
}
+} else {
+ &main::daemon_log("Using gosaUnitTag from config-file: $gosa_unit_tag",6);
}
# complete addresses