Changeset 3561 for branches/2.0


Ignore:
Timestamp:
12/06/10 09:26:09 (9 years ago)
Author:
rodsouza
Message:

Ticket #1424 - Adicinando apostrofo para evitar problemas com caracteres especiais no shell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/phpgwapi/inc/class.auth_ldap.inc.php

    r393 r3561  
    160160                                if ($objectclass == 'sambaSamAccount') 
    161161                                { 
    162                                         $entry['sambaLMPassword'] = exec('/home/expressolivre/mkntpwd -L '.$new_passwd); 
    163                                         $entry['sambaNTPassword'] = exec('/home/expressolivre/mkntpwd -N '.$new_passwd); 
     162                                        $entry['sambaLMPassword'] = exec( "/home/expressolivre/mkntpwd -L '{$new_passwd}'" ); 
     163                                        $entry['sambaNTPassword'] = exec( "/home/expressolivre/mkntpwd -N '{$new_passwd}'" ); 
    164164                                } 
    165165                        } 
Note: See TracChangeset for help on using the changeset viewer.