Ignore:
Timestamp:
02/01/10 19:12:54 (14 years ago)
Author:
nanardon
Message:
  • fix la-sync over one single object: two pass are useless in this case so don't disconnect and reconnect, avoiding to change of ldap (ad) server
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/bin/la-sync

    r770 r777  
    8787    foreach (@ARGV) { 
    8888        warn "Try to sync $otype: $_\n"; 
    89         $sync->sync_object($otype, $_, firstpass => 1) && 
    90         $sync->sync_object($otype, $_, firstpass => 0) or do { 
     89        $sync->sync_object($otype, $_, onepass => 1) or do { 
    9190            warn "Error while synching $_ ($otype)\n"; 
    9291            exit 1; 
Note: See TracChangeset for help on using the changeset viewer.