Changeset 2118 for trunk/LATMOS-Accounts
- Timestamp:
- 10/21/17 13:13:29 (7 years ago)
- Location:
- trunk/LATMOS-Accounts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/Changes
r2094 r2118 1 5.2.22 2 - add physicalDeliveryOfficeName attribute to nethost 3 - add netLocked attribute to nethost: when set localhost IP address as given 4 by DHCP zone to the computer to deny is to connect to network 5 1 6 5.2.20 2 7 - Allow to limit attribute value from database settings -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Buildnet.pm
r2117 r2118 431 431 } 432 432 } 433 my @desc = ($displayeduser, $nethost->get_attributes('description')); 433 my @desc = ( 434 $displayeduser, 435 $nethost->get_attributes('site'), 436 $nethost->get_attributes('physicalDeliveryOfficeName'), 437 $nethost->get_attributes('description'), 438 ); 434 439 435 440 return to_ascii(join(', ', grep { $_ } @desc) || ''); … … 780 785 foreach my $mac (sort grep { $_ } $obj->get_attributes('macaddr')) { 781 786 $output .= $desc 782 ? '# ' . $desc . "\n"783 : '';787 ? '# ' . $desc . "\n" 788 : ''; 784 789 my $fmac = $mac; 785 790 $fmac =~ s/://g;
Note: See TracChangeset
for help on using the changeset viewer.