Changeset 4929


Ignore:
Timestamp:
08/16/11 15:46:38 (13 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1820 - Pesquisa rápida de contatos com aspas.r4906

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.ldap_functions.inc.php

    r4457 r4929  
    8787                include_once("class.functions.inc.php"); 
    8888                $functions = new functions; 
    89                  
     89 
     90//              $search_for     = utf8_encode($params['search_for']); 
     91  //Testa se a busca foi realizada com aspas 
     92                $search_for     = utf8_encode($params['search_for']); 
     93                $search_len = (strlen($search_for)) - 1; 
     94                $quote_status=false; 
     95 
     96                if((($search_for{0}) == "\"") && (($search_for{$search_len}) == "\"")){ 
     97                    $search_for{0} = " "; 
     98                    $search_for{$search_len} = " "; 
     99                    $quote_status=true; 
     100                } 
     101 
     102 
     103 
    90104                $field          = $params['field']; 
    91105                $ID                     = $params['ID']; 
    92  
     106                 
    93107                $ldapService = ServiceLocator::getService('ldap'); 
    94108                $filter =  $ldapService->getSearchFilter($params['search_for']); 
    95          
     109 
    96110                $contacts_result = array(); 
    97111                $contacts_result['field'] = $field; 
     
    101115                // follow the referral 
    102116                $this->ldapConnect(true); 
    103                  
     117 
    104118                if ($this->ds) 
    105         { 
    106                 $ldapService->connection = $this->ds; 
     119                { 
     120                        if (($field != 'null') && ($ID != 'null')) 
     121                        { 
     122                                $filter="(& (&(|(phpgwAccountType=u)(phpgwAccountType=g)(phpgwAccountType=l))(mail=*)) (|(cn=*$search_for*)(mail=*$search_for*)) (!(phpgwaccountvisible=-1)) )"; 
     123                                if($extendedinfo) 
     124                                $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid", "employeeNumber", "ou"); 
     125                                else 
     126                                    $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid"); 
     127                        } 
     128                        else 
     129                        { 
     130                                if($quote_status){ 
     131                                        $filter="(& (phpgwAccountType=u) (|(cn=* $search_for *)(cn=$search_for *)(cn=* $search_for)) (!(phpgwaccountvisible=-1)) )"; 
     132                                } 
     133                                else{ 
     134                                        $filter="(& (phpgwAccountType=u)(cn=*$search_for*) (!(phpgwaccountvisible=-1)) )"; 
     135                                } 
     136                        //      $filter="(& (phpgwAccountType=u)(cn=*$search_for*) (!(phpgwaccountvisible=-1)) )"; 
     137                                if($extendedinfo) 
     138                                $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible","jpegPhoto", "uid", "employeeNumber", "ou"); 
     139                                else 
     140                                    $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible","jpegPhoto", "uid"); 
     141                        } 
     142                        $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0, $this->max_result + 1); 
     143                        if(!$sr) 
     144                                return null; 
     145                        $count_entries = ldap_count_entries($this->ds,$sr); 
    107146 
    108147                $justthese = array("cn", "mail", "telephonenumber", "mobile", "phpgwaccountvisible", "uid", "employeenumber", "ou"); 
     
    110149 
    111150                if( $field == 'null' || $ID == 'null' ) 
    112                 { 
     151                        { 
    113152                    $justthese[] = "jpegphoto"; 
    114153                    $types = 'u'; 
     
    119158                $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0, $this->max_result); 
    120159                         
    121                 if(!$sr) 
    122                     return null; 
    123  
    124                 $count_entries = ldap_count_entries($this->ds,$sr); 
     160                                if(!$sr) 
     161                                        return null; 
     162 
     163                                $count_entries = ldap_count_entries($this->ds,$sr); 
    125164 
    126165                $info = ldap_get_entries($this->ds, $sr); 
     
    130169            { 
    131170                $overload = $count_entries; 
    132             } 
    133             else 
    134             { 
    135                 $catalogsNum=count($this->external_srcs); 
     171                                } 
     172                                else 
     173                                { 
     174                                $catalogsNum=count($this->external_srcs); 
    136175                for ($i=0; $i<=$catalogsNum; $i++)      { 
    137                         if ($this->external_srcs[$i]["quicksearch"]) { 
    138                                 $this->ldapConnect(true,$i); 
    139                                 $filter="(|(cn=*$search_for*)(mail=*$search_for*))"; 
    140                                 $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid","employeeNumber", "ou"); 
    141                                 $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0, $this->max_result+1); 
    142                                 if(!$sr) 
    143                                         return null; 
    144                                 $count_entries = ldap_count_entries($this->ds,$sr); 
    145                                 $search = ldap_get_entries($this->ds, $sr); 
    146                                 for ($j=0; $j<$search["count"]; $j++) { 
    147                                         $info[] = $search[$j]; 
    148                                 } 
    149                                 $info["count"] = count($info)-1; 
    150                         } 
    151                 } 
    152             } 
     176                                        if ($this->external_srcs[$i]["quicksearch"]) { 
     177                                                $this->ldapConnect(true,$i); 
     178                                                $filter="(|(cn=*$search_for*)(mail=*$search_for*))"; 
     179                                                $justthese = array("cn", "mail", "telephoneNumber", "mobile", "phpgwAccountVisible", "uid","employeeNumber", "ou"); 
     180                                                $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese, 0, $this->max_result+1); 
     181                                                if(!$sr) 
     182                                                        return null; 
     183                                                $count_entries = ldap_count_entries($this->ds,$sr); 
     184                                                $search = ldap_get_entries($this->ds, $sr); 
     185                                                for ($j=0; $j<$search["count"]; $j++) { 
     186                                                        $info[] = $search[$j]; 
     187                                                } 
     188                                                $info["count"] = count($info)-1; 
     189                                        } 
     190                                } 
     191                        } 
    153192 
    154193            $tmp = array(); 
    155194            $tmp_users_from_user_org = array(); 
    156195 
    157             for ($i=0; $i<$info["count"]; $i++) 
    158             { 
     196                        for ($i=0; $i<$info["count"]; $i++) 
     197                        { 
    159198                $key = $info[$i]["mail"][0] . '%' . $info[$i]["telephonenumber"][0] . '%'. $info[$i]["mobile"][0] . '%' .                       $info[$i]["uid"][0] . '%' . $info[$i]["jpegphoto"]['count'] . '%' . $info[$i]["employeenumber"][0] . '%' .      $info[$i]["ou"][0]; 
    160199 
    161200                if (/*(!$quickSearch_only_in_userSector) &&*/ preg_match("/$user_sector_dn/i", $info[$i]['dn'])) 
    162                 { 
     201                                { 
    163202                        $tmp_users_from_user_org[$key] = utf8_decode($info[$i]["cn"][0]); 
    164203                        continue; 
    165                 } 
     204                                } 
    166205 
    167206                $tmp[$key] = utf8_decode($info[$i]["cn"][0]); 
    168             } 
    169  
    170             natcasesort($tmp_users_from_user_org); 
    171             natcasesort($tmp); 
    172  
    173             if (($field != 'null') && ($ID != 'null')) 
    174             { 
    175                     $i = 0; 
    176  
    177                     $tmp = array_merge($tmp, $tmp_users_from_user_org); 
    178                     natcasesort($tmp); 
    179  
    180                     foreach ($tmp as $info => $cn) 
    181                     { 
    182                             $contacts_result[$i] = array(); 
    183                             $contacts_result[$i]["cn"] = $cn; 
    184                             list ($contacts_result[$i]["mail"], $contacts_result[$i]["phone"], $contacts_result[$i]["mobile"], $contacts_result[$i]["uid"], $contacts_result[$i]["jpegphoto"], $contacts_result[$i]["employeenumber"], $contacts_result[$i]["ou"]) = split ('%', $info); 
    185                             $i++; 
    186                     } 
    187                     $contacts_result['quickSearch_only_in_userSector'] = $quickSearch_only_in_userSector; 
     207                                        } 
     208 
     209                        natcasesort($tmp_users_from_user_org); 
     210                        natcasesort($tmp); 
     211 
     212                        if (($field != 'null') && ($ID != 'null')) 
     213                        { 
     214                                $i = 0; 
     215 
     216                                $tmp = array_merge($tmp, $tmp_users_from_user_org); 
     217                                natcasesort($tmp); 
     218 
     219                                foreach ($tmp as $info => $cn) 
     220                                { 
     221                                        $contacts_result[$i] = array(); 
     222                                        $contacts_result[$i]["cn"] = $cn; 
     223                                        list ($contacts_result[$i]["mail"], $contacts_result[$i]["phone"], $contacts_result[$i]["mobile"], $contacts_result[$i]["uid"], $contacts_result[$i]["jpegphoto"], $contacts_result[$i]["employeenumber"], $contacts_result[$i]["ou"]) = split ('%', $info); 
     224                                        $i++; 
     225                                } 
     226                                $contacts_result['quickSearch_only_in_userSector'] = $quickSearch_only_in_userSector; 
    188227                    $contacts_result['maxResult'] = $ldapService->limit; 
    189             } 
    190             else 
    191             { 
    192                     $options_users_from_user_org = ''; 
    193                     $options = ''; 
     228                        } 
     229                        else 
     230                        { 
     231                                $options_users_from_user_org = ''; 
     232                                $options = ''; 
    194233 
    195234             
    196                     $i = 0; 
    197                     foreach ($tmp_users_from_user_org as $info => $cn) 
    198                     { 
    199                             $contacts_result[$i] = array(); 
    200                             $options_users_from_user_org .= $this->make_quicksearch_card($info, $cn); 
    201                             $i++; 
    202                     } 
     235                                $i = 0; 
     236                                foreach ($tmp_users_from_user_org as $info => $cn) 
     237                                { 
     238                                        $contacts_result[$i] = array(); 
     239                                        $options_users_from_user_org .= $this->make_quicksearch_card($info, $cn); 
     240                                        $i++; 
     241                                } 
    203242 
    204243             
    205                     foreach ($tmp as $info => $cn) 
    206                     { 
    207                             $contacts_result[$i] = array(); 
    208                             $options .= $this->make_quicksearch_card($info, $cn); 
    209                             $i++; 
    210                     } 
    211  
    212  
    213                     if (($options_users_from_user_org != '') && ($options != '')) 
    214                     {                                    
    215                             $head_option0 = 
    216                                     '<tr class="quicksearchcontacts_unselected">' . 
    217                                             '<td colspan="2" width="100%" align="center" style="background:#EEEEEE"><B>' . 
    218                                                     $this->functions->getLang('Users from your organization') . '</B> ['.count($tmp_users_from_user_org).']'; 
    219                                             '</td>' . 
    220                                     '</tr>'; 
    221  
    222                             $head_option1 = 
    223                                     '<tr class="quicksearchcontacts_unselected">' . 
    224                                             '<td colspan="2" width="100%" align="center" style="background:#EEEEEE"><B>' . 
    225                                                     $this->functions->getLang('Users from others organizations') . '</B> ['.count($tmp).']'; 
    226                                             '</td>' . 
    227                                     '</tr>'; 
    228                     } 
     244                                foreach ($tmp as $info => $cn) 
     245                                { 
     246                                        $contacts_result[$i] = array(); 
     247                                        $options .= $this->make_quicksearch_card($info, $cn); 
     248                                        $i++; 
     249                                } 
     250 
     251 
     252                                        if (($options_users_from_user_org != '') && ($options != '')) 
     253                                        { 
     254                                                $head_option0 = 
     255                                                        '<tr class="quicksearchcontacts_unselected">' . 
     256                                                                '<td colspan="2" width="100%" align="center" style="background:#EEEEEE"><B>' . 
     257                                                                        $this->functions->getLang('Users from your organization') . '</B> ['.count($tmp_users_from_user_org).']'; 
     258                                                                '</td>' . 
     259                                                        '</tr>'; 
     260 
     261                                                $head_option1 = 
     262                                                        '<tr class="quicksearchcontacts_unselected">' . 
     263                                                                '<td colspan="2" width="100%" align="center" style="background:#EEEEEE"><B>' . 
     264                                                                        $this->functions->getLang('Users from others organizations') . '</B> ['.count($tmp).']'; 
     265                                                                '</td>' . 
     266                                                        '</tr>'; 
     267                                        } 
    229268                     
    230269                    $head_option = ''; 
     
    238277                    $contacts_result = $head_option.$head_option0 . $options_users_from_user_org . $head_option1. $options; 
    239278 
    240                 } 
    241             } 
    242  
    243             ldap_close($this->ds); 
    244  
    245             return $contacts_result; 
     279                                } 
     280                        } 
     281 
     282                ldap_close($this->ds); 
     283 
     284                return $contacts_result; 
    246285        } 
    247286 
     
    385424        //Busca usuarios de um contexto e ja retorna as options do select - usado por template serpro; 
    386425        function search_users($params) 
    387     { 
    388                 $owner = $_SESSION['phpgw_info']['expressomail']['user']['owner']; 
     426        { 
     427                $owner = $_SESSION['phpgw_info']['expressomail']['user']['owner']; 
    389428                        $ldapService = ServiceLocator::getService('ldap'); 
    390429                        $ldapService->connect($_SESSION['phpgw_info']['expressomail']['server']['ldap_host'], 
    391430                        $_SESSION['phpgw_info']['expressomail']['server']['ldap_root_dn'], 
    392431                        $_SESSION['phpgw_info']['expressomail']['server']['ldap_root_pw']); 
    393                          
     432 
    394433                        $groups = $ldapService->accountSearch($params['filter'], array("gidNumber","cn"), $params['context'] , 'g', 'cn');  
    395434                        $users = $ldapService->accountSearch($params['filter'], array("uidNumber","cn"), $params['context'] , 'u', 'cn'); 
     
    397436                        $user_options  = array(); 
    398437                        foreach($groups as $group) 
    399                         { 
     438                { 
    400439                                $group_options[] = '"'.$group['gidNumber'].'U'.'":"'.$group['cn'].'"'; 
    401440                } 
    402                          
     441 
    403442                foreach($users as $user)  
    404                 { 
     443                    { 
    405444                                if($owner != $user['uidNumber']) 
    406445                                        $user_options[] = '"'.$user['uidNumber'].'U'.'":"'.$user['cn'].'"'; 
    407                         } 
    408                          
     446                    } 
     447         
    409448                        $user_options = '{'.implode( ',', $user_options ).'}'; 
    410449                        $group_options = '{'.implode( ',', $group_options ).'}'; 
    411                  
     450 
    412451                return array("users" => $user_options, "groups" => $group_options); 
    413     } 
     452        } 
    414453 
    415454        function catalogsearch($params) 
     
    420459                $catalog = $params['catalog']; 
    421460                $error = False; 
    422                  
     461 
    423462                //if($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['extended_info']) 
    424463                    //$extendedinfo=true; 
     
    432471 
    433472                if ($this->ds) { 
    434                         $justthese = array("cn", "mail", "phpgwaccounttype", "phpgwAccountVisible", "employeeNumber", "ou"); 
     473                                $justthese = array("cn", "mail", "phpgwaccounttype", "phpgwAccountVisible", "employeeNumber", "ou"); 
    435474                        $sr=@ldap_search($this->ds, $user_context, $filter, $justthese, 0, $ldapService->limit+1); 
    436                          
     475 
    437476                        if(!$sr) 
    438477                                return null; 
     
    571610                $_SESSION['phpgw_info']['expressomail']['server']['ldap_root_dn'], 
    572611                $_SESSION['phpgw_info']['expressomail']['server']['ldap_root_pw']); 
    573                  
     612 
    574613                $entries = $ldapService->accountSearch($params['sentence'], array('cn', 'uid'), $params['context'], 'u', 'cn'); 
    575                  
     614 
    576615                $options = array(); 
    577                  
     616 
    578617                foreach ($entries as $value)  
    579618                        $options[] = '"'.$value['uid'].'"'.':'.'"'.$value['cn'].'"'; 
    580                  
     619 
    581620                return "{".implode(',',$options)."}";            
    582         } 
     621                                } 
    583622 
    584623        function uid2cn($uid) 
  • trunk/expressoMail1_2/js/common_functions.js

    r4855 r4929  
    607607 
    608608        if (search_for.length < preferences.search_characters_number){ 
    609             alert(get_lang('Your search argument must be longer than %1 characters.', preferences.search_characters_number)); 
     609            //alert(get_lang('Your search argument must be longer than %1 characters.', preferences.search_characters_number)); 
     610            alert(get_lang('Your search argument must be longer than %1 characters. Use quotes to refine your search', preferences.search_characters_number)); 
    610611            return false; 
    611612        } 
  • trunk/expressoMail1_2/setup/phpgw_pt-br.lang

    r4843 r4929  
    622622Your message was sent to queue  expressoMail1_2 pt-br   Sua mensagem foi enviada com sucesso para a fila 
    623623Your search argument must be longer than %1 characters. expressoMail1_2 pt-br   Seus argumentos para a pesquisa precisam ter mais que %1 dígitos. 
     624Your search argument must be longer than %1 characters. Use quotes to refine your search        expressoMail1_2 pt-br   Seus argumentos para a pesquisa precisam ter mais que %1 dígitos. Use aspas para refinar a sua pesquisa. 
    624625Your session could not be verified.     expressoMail1_2 pt-br   Sua sessão expirou. Entre novamente no Expresso. 
    625626Your Spam folder was empty.     expressoMail1_2 pt-br   Sua pasta Spam foi limpa. 
  • trunk/logs/arquivo_crls.log

    r3232 r4929  
    11# -- # 
     22011-05-31 19:00:01,625 INFO Processando arquivo de urls para obter crls: /var/www/expresso/security/crl_admin/crl_admin.conf . 
     32011-05-31 19:00:01,633 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/serproacfv1.crl 
     42011-05-31 19:00:01,648 INFO Processando arquivo de urls para obter crls: /var/www/expresso/security/crl_admin/crl_admin.conf . 
     52011-05-31 19:00:01,662 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/serproacfv1.crl 
     62011-05-31 19:00:02,157 INFO Verificando /var/www/expresso/security/crls/serproacfv1.crl(70244 Bytes) 
     72011-05-31 19:00:02,265 INFO Verificando /var/www/expresso/security/crls/serproacfv1.crl(70244 Bytes) 
     82011-05-31 19:00:02,397 INFO  
     92011-05-31 19:00:02,398 INFO verify OK 
     102011-05-31 19:00:02,398 INFO  
     112011-05-31 19:00:02,454 INFO  
     122011-05-31 19:00:02,455 INFO verify OK 
     132011-05-31 19:00:02,455 INFO  
     142011-05-31 19:00:02,450 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/serproacfv2.crl 
     152011-05-31 19:00:02,506 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/serproacfv2.crl 
     162011-05-31 19:00:03,055 INFO Verificando /var/www/expresso/security/crls/serproacfv2.crl(136359 Bytes) 
     172011-05-31 19:00:03,167 INFO Verificando /var/www/expresso/security/crls/serproacfv2.crl(136359 Bytes) 
     182011-05-31 19:00:03,200 INFO  
     192011-05-31 19:00:03,201 INFO verify OK 
     202011-05-31 19:00:03,201 INFO  
     212011-05-31 19:00:03,232 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/ACPRv1.crl 
     222011-05-31 19:00:03,436 INFO  
     232011-05-31 19:00:03,437 INFO verify OK 
     242011-05-31 19:00:03,437 INFO  
     252011-05-31 19:00:03,576 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/ACPRv1.crl 
     262011-05-31 19:00:03,597 INFO Verificando /var/www/expresso/security/crls/ACPRv1.crl(3143 Bytes) 
     272011-05-31 19:00:03,736 INFO  
     282011-05-31 19:00:03,736 INFO unable to load CRL 
     292011-05-31 19:00:03,737 INFO 30205:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:150: 
     302011-05-31 19:00:03,737 INFO  
     312011-05-31 19:00:03,737 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/ACPRv1.crl 
     32 
     332011-05-31 19:00:03,737 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/ACPRv2.crl 
     342011-05-31 19:00:03,928 INFO  
     352011-05-31 19:00:03,929 INFO --2011-05-31 19:00:03--  http://ccd.serpro.gov.br/lcr/ACPRv1.crl 
     362011-05-31 19:00:03,929 INFO Resolving ccd.serpro.gov.br... 161.148.1.30 
     372011-05-31 19:00:03,930 INFO Connecting to ccd.serpro.gov.br|161.148.1.30|:80... connected. 
     382011-05-31 19:00:03,930 INFO HTTP request sent, awaiting response... 200 OK 
     392011-05-31 19:00:03,930 INFO Length: 3143 (3.1K) [application/x-pkcs7-crl] 
     402011-05-31 19:00:03,930 INFO Saving to: `/var/www/expresso/security/crls/ACPRv1.crl' 
     412011-05-31 19:00:03,931 INFO  
     422011-05-31 19:00:03,931 INFO      0K ...                                                   100% 60.0K=0.05s 
     432011-05-31 19:00:03,931 INFO  
     442011-05-31 19:00:03,931 INFO utime(/var/www/expresso/security/crls/ACPRv1.crl): No such file or directory 
     452011-05-31 19:00:03,931 INFO 2011-05-31 19:00:03 (60.0 KB/s) - `/var/www/expresso/security/crls/ACPRv1.crl' saved [3143/3143] 
     462011-05-31 19:00:03,932 INFO  
     472011-05-31 19:00:03,932 INFO  
     482011-05-31 19:00:03,932 CRITICAL Nao foi possivel obter a CRL http://ccd.serpro.gov.br/lcr/ACPRv1.crl 
     49 
     502011-05-31 19:00:03,933 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/ACPRv2.crl 
     512011-05-31 19:00:04,068 INFO Verificando /var/www/expresso/security/crls/ACPRv2.crl(2616 Bytes) 
     522011-05-31 19:00:04,193 INFO  
     532011-05-31 19:00:04,193 INFO unable to load CRL 
     542011-05-31 19:00:04,194 INFO 30208:error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data:a_d2i_fp.c:238: 
     552011-05-31 19:00:04,194 INFO  
     562011-05-31 19:00:04,194 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/ACPRv2.crl 
     57 
     582011-05-31 19:00:04,194 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprorfb.crl 
     592011-05-31 19:00:04,297 INFO  
     602011-05-31 19:00:04,298 INFO --2011-05-31 19:00:03--  http://ccd.serpro.gov.br/lcr/ACPRv2.crl 
     612011-05-31 19:00:04,298 INFO Resolving ccd.serpro.gov.br... 161.148.1.30 
     622011-05-31 19:00:04,298 INFO Connecting to ccd.serpro.gov.br|161.148.1.30|:80... connected. 
     632011-05-31 19:00:04,298 INFO HTTP request sent, awaiting response... 200 OK 
     642011-05-31 19:00:04,298 INFO Length: 12949 (13K) [application/x-pkcs7-crl] 
     652011-05-31 19:00:04,299 INFO Saving to: `/var/www/expresso/security/crls/ACPRv2.crl' 
     662011-05-31 19:00:04,299 INFO  
     672011-05-31 19:00:04,299 INFO      0K .......... ..                                         100%  143K=0.09s 
     682011-05-31 19:00:04,299 INFO  
     692011-05-31 19:00:04,300 INFO 2011-05-31 19:00:04 (143 KB/s) - `/var/www/expresso/security/crls/ACPRv2.crl' saved [12949/12949] 
     702011-05-31 19:00:04,300 INFO  
     712011-05-31 19:00:04,300 INFO  
     722011-05-31 19:00:04,301 CRITICAL Nao foi possivel obter a CRL http://ccd.serpro.gov.br/lcr/ACPRv2.crl 
     73 
     742011-05-31 19:00:04,301 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprorfb.crl 
     752011-05-31 19:00:05,122 INFO Verificando /var/www/expresso/security/crls/acserprorfb.crl(824046 Bytes) 
     762011-05-31 19:00:05,130 INFO Verificando /var/www/expresso/security/crls/acserprorfb.crl(824046 Bytes) 
     772011-05-31 19:00:05,378 INFO  
     782011-05-31 19:00:05,379 INFO verify OK 
     792011-05-31 19:00:05,379 INFO  
     802011-05-31 19:00:05,389 INFO  
     812011-05-31 19:00:05,390 INFO verify OK 
     822011-05-31 19:00:05,390 INFO  
     832011-05-31 19:00:05,422 INFO Buscando a CRL: http://acraiz.icpbrasil.gov.br/LCRacraizv1.crl 
     842011-05-31 19:00:05,519 INFO Buscando a CRL: http://acraiz.icpbrasil.gov.br/LCRacraizv1.crl 
     852011-05-31 19:00:05,747 INFO Verificando /var/www/expresso/security/crls/LCRacraizv1.crl(577 Bytes) 
     862011-05-31 19:00:05,867 INFO Verificando /var/www/expresso/security/crls/LCRacraizv1.crl(577 Bytes) 
     872011-05-31 19:00:05,878 INFO  
     882011-05-31 19:00:05,879 INFO verify OK 
     892011-05-31 19:00:05,879 INFO  
     902011-05-31 19:00:05,920 INFO Buscando a CRL: http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     912011-05-31 19:00:06,019 INFO  
     922011-05-31 19:00:06,020 INFO verify OK 
     932011-05-31 19:00:06,020 INFO  
     942011-05-31 19:00:06,042 INFO Buscando a CRL: http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     952011-05-31 19:00:06,148 INFO  
     962011-05-31 19:00:06,149 INFO --2011-05-31 19:00:05--  http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     972011-05-31 19:00:06,149 INFO Resolving acraiz.icpbrasil.gov.br... 200.130.30.4, 200.130.30.10, 189.9.8.12 
     982011-05-31 19:00:06,149 INFO Connecting to acraiz.icpbrasil.gov.br|200.130.30.4|:80... connected. 
     992011-05-31 19:00:06,149 INFO HTTP request sent, awaiting response... 200 OK 
     1002011-05-31 19:00:06,150 INFO Length: 586 [application/x-pkcs7-crl] 
     1012011-05-31 19:00:06,150 INFO Saving to: `/var/www/expresso/security/crls/LCRacraiz.crl' 
     1022011-05-31 19:00:06,150 INFO  
     1032011-05-31 19:00:06,150 INFO      0K                                                       100% 27.2M=0s 
     1042011-05-31 19:00:06,150 INFO  
     1052011-05-31 19:00:06,151 INFO 2011-05-31 19:00:06 (27.2 MB/s) - `/var/www/expresso/security/crls/LCRacraiz.crl' saved [586/586] 
     1062011-05-31 19:00:06,151 INFO  
     1072011-05-31 19:00:06,151 INFO  
     1082011-05-31 19:00:06,151 CRITICAL Nao foi possivel obter a CRL http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     109 
     1102011-05-31 19:00:06,152 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserpro.crl 
     1112011-05-31 19:00:06,368 INFO  
     1122011-05-31 19:00:06,369 INFO --2011-05-31 19:00:06--  http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     1132011-05-31 19:00:06,369 INFO Resolving acraiz.icpbrasil.gov.br... 189.9.8.12, 200.130.30.4, 200.130.30.10 
     1142011-05-31 19:00:06,370 INFO Connecting to acraiz.icpbrasil.gov.br|189.9.8.12|:80... connected. 
     1152011-05-31 19:00:06,370 INFO HTTP request sent, awaiting response... 200 OK 
     1162011-05-31 19:00:06,370 INFO Length: 586 [application/x-pkcs7-crl] 
     1172011-05-31 19:00:06,370 INFO Saving to: `/var/www/expresso/security/crls/LCRacraiz.crl' 
     1182011-05-31 19:00:06,371 INFO  
     1192011-05-31 19:00:06,371 INFO      0K                                                       100% 28.9M=0s 
     1202011-05-31 19:00:06,371 INFO  
     1212011-05-31 19:00:06,371 INFO utime(/var/www/expresso/security/crls/LCRacraiz.crl): No such file or directory 
     1222011-05-31 19:00:06,371 INFO 2011-05-31 19:00:06 (28.9 MB/s) - `/var/www/expresso/security/crls/LCRacraiz.crl' saved [586/586] 
     1232011-05-31 19:00:06,372 INFO  
     1242011-05-31 19:00:06,372 INFO  
     1252011-05-31 19:00:06,372 CRITICAL Nao foi possivel obter a CRL http://acraiz.icpbrasil.gov.br/LCRacraiz.crl 
     126 
     1272011-05-31 19:00:06,373 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserpro.crl 
     1282011-05-31 19:00:06,384 INFO Verificando /var/www/expresso/security/crls/acserpro.crl(566 Bytes) 
     1292011-05-31 19:00:06,617 INFO Verificando /var/www/expresso/security/crls/acserpro.crl(566 Bytes) 
     1302011-05-31 19:00:06,629 INFO  
     1312011-05-31 19:00:06,629 INFO unable to load CRL 
     1322011-05-31 19:00:06,630 INFO 30225:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:150: 
     1332011-05-31 19:00:06,630 INFO  
     1342011-05-31 19:00:06,630 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/acserpro.crl 
     135 
     1362011-05-31 19:00:06,630 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprojus.crl 
     1372011-05-31 19:00:06,769 INFO  
     1382011-05-31 19:00:06,770 INFO /var/www/expresso/security/crls/acserpro.crl: No such file or directory 
     1392011-05-31 19:00:06,770 INFO  
     1402011-05-31 19:00:06,770 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/acserpro.crl 
     141 
     1422011-05-31 19:00:06,770 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprojus.crl 
     1432011-05-31 19:00:06,969 INFO Verificando /var/www/expresso/security/crls/acserprojus.crl(520 Bytes) 
     1442011-05-31 19:00:06,993 INFO Verificando /var/www/expresso/security/crls/acserprojus.crl(520 Bytes) 
     1452011-05-31 19:00:07,121 INFO  
     1462011-05-31 19:00:07,122 INFO verify OK 
     1472011-05-31 19:00:07,122 INFO  
     1482011-05-31 19:00:07,133 INFO  
     1492011-05-31 19:00:07,134 INFO verify OK 
     1502011-05-31 19:00:07,134 INFO  
     1512011-05-31 19:00:07,173 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprorfb.crl 
     1522011-05-31 19:00:07,270 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprorfb.crl 
     1532011-05-31 19:00:08,108 INFO Verificando /var/www/expresso/security/crls/acserprorfb.crl(824046 Bytes) 
     1542011-05-31 19:00:08,119 INFO Verificando /var/www/expresso/security/crls/acserprorfb.crl(824046 Bytes) 
     1552011-05-31 19:00:08,396 INFO  
     1562011-05-31 19:00:08,396 INFO verify OK 
     1572011-05-31 19:00:08,397 INFO  
     1582011-05-31 19:00:08,418 INFO  
     1592011-05-31 19:00:08,418 INFO verify OK 
     1602011-05-31 19:00:08,419 INFO  
     1612011-05-31 19:00:08,442 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprosrf.crl 
     1622011-05-31 19:00:08,519 INFO Buscando a CRL: http://ccd.serpro.gov.br/lcr/acserprosrf.crl 
     1632011-05-31 19:00:08,644 INFO Verificando /var/www/expresso/security/crls/acserprosrf.crl(8455 Bytes) 
     1642011-05-31 19:00:08,872 INFO Verificando /var/www/expresso/security/crls/acserprosrf.crl(74095 Bytes) 
     1652011-05-31 19:00:08,884 INFO  
     1662011-05-31 19:00:08,885 INFO unable to load CRL 
     1672011-05-31 19:00:08,885 INFO 30241:error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data:a_d2i_fp.c:238: 
     1682011-05-31 19:00:08,885 INFO  
     1692011-05-31 19:00:08,886 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/acserprosrf.crl 
     170 
     1712011-05-31 19:00:08,886 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXA1.crl 
     1722011-05-31 19:00:09,024 INFO  
     1732011-05-31 19:00:09,025 INFO /var/www/expresso/security/crls/acserprosrf.crl: No such file or directory 
     1742011-05-31 19:00:09,025 INFO  
     1752011-05-31 19:00:09,026 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/acserprosrf.crl 
     176 
     1772011-05-31 19:00:09,026 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXA1.crl 
     1782011-05-31 19:00:09,233 INFO Verificando /var/www/expresso/security/crls/ACCAIXA1.crl(658 Bytes) 
     1792011-05-31 19:00:09,357 INFO Verificando /var/www/expresso/security/crls/ACCAIXA1.crl(658 Bytes) 
     1802011-05-31 19:00:09,372 INFO  
     1812011-05-31 19:00:09,373 INFO verify OK 
     1822011-05-31 19:00:09,373 INFO  
     1832011-05-31 19:00:09,505 INFO  
     1842011-05-31 19:00:09,506 INFO verify OK 
     1852011-05-31 19:00:09,506 INFO  
     1862011-05-31 19:00:09,516 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAPF1.crl 
     1872011-05-31 19:00:09,552 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAPF1.crl 
     1882011-05-31 19:00:18,921 INFO Verificando /var/www/expresso/security/crls/ACCAIXAPF1.crl(89059 Bytes) 
     1892011-05-31 19:00:19,061 INFO  
     1902011-05-31 19:00:19,061 INFO verify OK 
     1912011-05-31 19:00:19,062 INFO  
     1922011-05-31 19:00:19,189 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAPJ1.crl 
     1932011-05-31 19:00:23,210 INFO Verificando /var/www/expresso/security/crls/ACCAIXAPF1.crl(89059 Bytes) 
     1942011-05-31 19:00:23,354 INFO  
     1952011-05-31 19:00:23,355 INFO verify OK 
     1962011-05-31 19:00:23,355 INFO  
     1972011-05-31 19:00:23,376 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAPJ1.crl 
     1982011-05-31 19:00:30,754 INFO  
     1992011-05-31 19:00:30,754 INFO --2011-05-31 19:00:23--  http://icp.caixa.gov.br/repositorio/ACCAIXAPJ1.crl 
     2002011-05-31 19:00:30,754 INFO Resolving icp.caixa.gov.br... 200.201.163.44 
     2012011-05-31 19:00:30,755 INFO Connecting to icp.caixa.gov.br|200.201.163.44|:80... connected. 
     2022011-05-31 19:00:30,755 INFO HTTP request sent, awaiting response... 200 OK 
     2032011-05-31 19:00:30,755 INFO Length: 117882 (115K) [application/pkix-crl] 
     2042011-05-31 19:00:30,755 INFO Saving to: `/var/www/expresso/security/crls/ACCAIXAPJ1.crl' 
     2052011-05-31 19:00:30,756 INFO  
     2062011-05-31 19:00:30,756 INFO      0K .......... .......... .......... .......... .......... 43% 24.0K 3s 
     2072011-05-31 19:00:30,756 INFO     50K .......... .......... .......... .......... .......... 86% 14.0K 1s 
     2082011-05-31 19:00:30,756 INFO    100K .......... .....                                      100% 10.8K=7.0s 
     2092011-05-31 19:00:30,756 INFO  
     2102011-05-31 19:00:30,757 INFO utime(/var/www/expresso/security/crls/ACCAIXAPJ1.crl): No such file or directory 
     2112011-05-31 19:00:30,757 INFO 2011-05-31 19:00:30 (16.3 KB/s) - `/var/www/expresso/security/crls/ACCAIXAPJ1.crl' saved [117882/117882] 
     2122011-05-31 19:00:30,757 INFO  
     2132011-05-31 19:00:30,757 INFO  
     2142011-05-31 19:00:30,758 CRITICAL Nao foi possivel obter a CRL http://icp.caixa.gov.br/repositorio/ACCAIXAPJ1.crl 
     215 
     2162011-05-31 19:00:30,758 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAJUS.crl 
     2172011-05-31 19:00:50,572 INFO Verificando /var/www/expresso/security/crls/ACCAIXAPJ1.crl(117882 Bytes) 
     2182011-05-31 19:00:50,724 INFO  
     2192011-05-31 19:00:50,725 INFO verify OK 
     2202011-05-31 19:00:50,725 INFO  
     2212011-05-31 19:00:50,746 INFO Buscando a CRL: http://icp.caixa.gov.br/repositorio/ACCAIXAJUS.crl 
     2222011-05-31 19:00:52,195 INFO Verificando /var/www/expresso/security/crls/ACCAIXAJUS.crl(259 Bytes) 
     2232011-05-31 19:00:52,323 INFO  
     2242011-05-31 19:00:52,324 INFO unable to load CRL 
     2252011-05-31 19:00:52,324 INFO 30277:error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data:a_d2i_fp.c:238: 
     2262011-05-31 19:00:52,324 INFO  
     2272011-05-31 19:00:52,324 CRITICAL Erro verificando a CRL /var/www/expresso/security/crls/ACCAIXAJUS.crl 
     228 
     2292011-05-31 19:00:52,325 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     2302011-05-31 19:00:52,648 INFO  
     2312011-05-31 19:00:52,648 INFO --2011-05-31 19:00:52--  http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     2322011-05-31 19:00:52,649 INFO Resolving ccdhom.serpro.gov.br... 161.148.1.32 
     2332011-05-31 19:00:52,649 INFO Connecting to ccdhom.serpro.gov.br|161.148.1.32|:80... connected. 
     2342011-05-31 19:00:52,649 INFO HTTP request sent, awaiting response... 404 Not Found 
     2352011-05-31 19:00:52,649 INFO 2011-05-31 19:00:52 ERROR 404: Not Found. 
     2362011-05-31 19:00:52,649 INFO  
     2372011-05-31 19:00:52,650 INFO  
     2382011-05-31 19:00:52,650 CRITICAL Nao foi possivel obter a CRL http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     239 
     2402011-05-31 19:00:52,650 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     2412011-05-31 19:00:52,876 INFO  
     2422011-05-31 19:00:52,876 INFO --2011-05-31 19:00:52--  http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     2432011-05-31 19:00:52,877 INFO Resolving ccdhom.serpro.gov.br... 161.148.1.32 
     2442011-05-31 19:00:52,877 INFO Connecting to ccdhom.serpro.gov.br|161.148.1.32|:80... connected. 
     2452011-05-31 19:00:52,877 INFO HTTP request sent, awaiting response... 404 Not Found 
     2462011-05-31 19:00:52,877 INFO 2011-05-31 19:00:52 ERROR 404: Not Found. 
     2472011-05-31 19:00:52,878 INFO  
     2482011-05-31 19:00:52,878 INFO  
     2492011-05-31 19:00:52,878 CRITICAL Nao foi possivel obter a CRL http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     250 
     2512011-05-31 19:00:52,878 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/acserprorfbv1.crl 
     2522011-05-31 19:00:53,409 INFO Verificando /var/www/expresso/security/crls/acserprorfbv1.crl(134437 Bytes) 
     2532011-05-31 19:00:53,545 INFO  
     2542011-05-31 19:00:53,546 INFO verify OK 
     2552011-05-31 19:00:53,546 INFO  
     2562011-05-31 19:01:06,592 INFO  
     2572011-05-31 19:01:06,592 INFO --2011-05-31 19:00:50--  http://icp.caixa.gov.br/repositorio/ACCAIXAJUS.crl 
     2582011-05-31 19:01:06,592 INFO Resolving icp.caixa.gov.br... 200.201.163.44 
     2592011-05-31 19:01:06,593 INFO Connecting to icp.caixa.gov.br|200.201.163.44|:80... connected. 
     2602011-05-31 19:01:06,593 INFO HTTP request sent, awaiting response... 200 OK 
     2612011-05-31 19:01:06,593 INFO Length: 71506 (70K) [application/pkix-crl] 
     2622011-05-31 19:01:06,593 INFO Saving to: `/var/www/expresso/security/crls/ACCAIXAJUS.crl' 
     2632011-05-31 19:01:06,594 INFO  
     2642011-05-31 19:01:06,594 INFO      0K                                                         1%  159 =4.9s 
     2652011-05-31 19:01:06,594 INFO  
     2662011-05-31 19:01:06,594 INFO 2011-05-31 19:01:06 (159 B/s) - Read error at byte 783/71506 (Connection timed out). Giving up. 
     2672011-05-31 19:01:06,594 INFO  
     2682011-05-31 19:01:06,595 INFO  
     2692011-05-31 19:01:06,595 CRITICAL Nao foi possivel obter a CRL http://icp.caixa.gov.br/repositorio/ACCAIXAJUS.crl 
     270 
     2712011-05-31 19:01:06,595 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     2722011-05-31 19:01:06,820 INFO  
     2732011-05-31 19:01:06,820 INFO --2011-05-31 19:01:06--  http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     2742011-05-31 19:01:06,821 INFO Resolving ccdhom.serpro.gov.br... 161.148.1.32 
     2752011-05-31 19:01:06,821 INFO Connecting to ccdhom.serpro.gov.br|161.148.1.32|:80... connected. 
     2762011-05-31 19:01:06,821 INFO HTTP request sent, awaiting response... 404 Not Found 
     2772011-05-31 19:01:06,821 INFO 2011-05-31 19:01:06 ERROR 404: Not Found. 
     2782011-05-31 19:01:06,822 INFO  
     2792011-05-31 19:01:06,822 INFO  
     2802011-05-31 19:01:06,822 CRITICAL Nao foi possivel obter a CRL http://ccdhom.serpro.gov.br/lcr/homacraizv2.crl 
     281 
     2822011-05-31 19:01:06,822 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     2832011-05-31 19:01:07,048 INFO  
     2842011-05-31 19:01:07,049 INFO --2011-05-31 19:01:06--  http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     2852011-05-31 19:01:07,049 INFO Resolving ccdhom.serpro.gov.br... 161.148.1.32 
     2862011-05-31 19:01:07,049 INFO Connecting to ccdhom.serpro.gov.br|161.148.1.32|:80... connected. 
     2872011-05-31 19:01:07,049 INFO HTTP request sent, awaiting response... 404 Not Found 
     2882011-05-31 19:01:07,050 INFO 2011-05-31 19:01:06 ERROR 404: Not Found. 
     2892011-05-31 19:01:07,050 INFO  
     2902011-05-31 19:01:07,050 INFO  
     2912011-05-31 19:01:07,050 CRITICAL Nao foi possivel obter a CRL http://ccdhom.serpro.gov.br/lcr/homserprov2.crl 
     292 
     2932011-05-31 19:01:07,051 INFO Buscando a CRL: http://ccdhom.serpro.gov.br/lcr/acserprorfbv1.crl 
     2942011-05-31 19:01:07,176 INFO Verificando /var/www/expresso/security/crls/acserprorfbv1.crl(134437 Bytes) 
     2952011-05-31 19:01:07,316 INFO  
     2962011-05-31 19:01:07,317 INFO verify OK 
     2972011-05-31 19:01:07,317 INFO  
Note: See TracChangeset for help on using the changeset viewer.