Changeset 2118 for trunk/LATMOS-Accounts


Ignore:
Timestamp:
10/21/17 13:13:29 (7 years ago)
Author:
nanardon
Message:

Afficher site + bureau dans les zone DNS/DHCP

Location:
trunk/LATMOS-Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/Changes

    r2094 r2118  
     15.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 
    165.2.20 
    27    - Allow to limit attribute value from database settings 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Buildnet.pm

    r2117 r2118  
    431431        } 
    432432    } 
    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    ); 
    434439 
    435440    return to_ascii(join(', ', grep { $_ } @desc) || ''); 
     
    780785            foreach my $mac (sort grep { $_ } $obj->get_attributes('macaddr')) { 
    781786                $output .= $desc 
    782                 ? '# ' . $desc . "\n" 
    783                 : ''; 
     787                    ? '# ' . $desc . "\n" 
     788                    : ''; 
    784789                my $fmac = $mac; 
    785790                $fmac =~ s/://g; 
Note: See TracChangeset for help on using the changeset viewer.