Changeset 1095

Show
Ignore:
Timestamp:
02/12/08 00:00:26 (1 year ago)
Author:
mstauber
Message:

Fixed 5100R.pm to work with cases where System Object is not OID #1.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • utils/cce-shell-tools/trunk/perl/BQ5100R.pm

    r911 r1095  
    9898                $self->{name} = $user; 
    9999                if(!defined $self->{fullName}) { $self->{fullName} = $user }; 
    100                 $oid = $cce->createShell($self, 'User');       
     100                ($oid) = $cce->createShell($self, 'User');     
    101101                if(!$oid) { 
    102102                        print "Could not get oid for user ", $self->{name}, "\n"; 
     
    130130 
    131131        # we should get the defaults and use them? or are they auto? 
    132         $oid = $cce->createShell($self, 'Vsite');      
     132        ($oid) = $cce->createShell($self, 'Vsite');    
    133133        if(!$oid) { 
    134134                print "Could not get oid for user ", $self->{name}, "\n"; 
     
    277277 
    278278        my ($oid, $ok, $nSpace); 
    279         $oid = $cce->find('System'); 
     279        ($oid) = $cce->find('System'); 
    280280        if(!$oid) { die "Cannot find System OID\n" } 
    281281        #($ok, $nSpace) = $cce->get($oid, 'UserDefaults'); 
     
    300300 
    301301        my ($oid, $ok, $nSpace); 
    302         $oid = $cce->find('System'); 
     302        ($oid) = $cce->find('System'); 
    303303        if(!$oid) { die "Cannot find System OID\n" } 
    304304        ($ok, $nSpace) = $cce->get($oid, 'UserDefaults'); 
  • utils/cce-shell-tools/trunk/shell-tools.spec.in

    r1038 r1095  
    44Name: [PRODUCT]-shell-tools 
    55Version: [VERSION] 
    6 Release: 0BQ7%{?dist} 
     6Release: 0BQ8%{?dist} 
    77Vendor: %{vendor} 
    88License: Sun modified BSD 
     
    5151 
    5252%changelog 
     53* Mon Feb 11 2008 Michael Stauber <mstauber@solarspeed.net> 
     54- Fixed 5100R.pm to work with cases where System Object is not OID #1. 
     55 
    5356* Fri Dec 14 2007 Brian N. Smith <brian@nuonce.net> 
    5457- Enabled FPX import again