Show
Ignore:
Timestamp:
11/22/09 22:09:30 (4 months ago)
Author:
DmitryChemerik
Message:

исправлена ошибка в при импорте пользователей групп adld, ldap, ntlm

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/php/authclass.php

    r690 r716  
    306306//      $aaa=ExecuteShellScript("bin/testwbinfopasswd", $e); 
    307307//      $aaa=ExecuteShellScript("bin/testwbinfopasswd", $e); 
    308         $aaa=ntlm_auth ($this->UserName,$password,$SAMSConf->WBINFOPATH); 
     308        $aaa=ntlm_auth($this->UserName,$password,$SAMSConf->WBINFOPATH); 
    309309//      if(stristr($aaa,"authentication succeeded" )!=false||stristr($aaa,"NT_STATUS_OK" )!=false) 
    310310        if(stristr($aaa,"OK" )!=false||stristr($aaa,"ERR" )!=true) 
     
    417417   1 => array("pipe", "w")  // stdout is a pipe that the child will write to 
    418418); 
    419 $ntlm_auth = proc_open("bin/ntlm_auth ".$path, $descriptorspec, $pipes); 
     419//$ntlm_auth = proc_open("bin/ntlm_auth ".$path, $descriptorspec, $pipes); 
     420$ntlm_auth = proc_open("bin/testwbinfopasswd ".$path, $descriptorspec, $pipes); 
    420421if (is_resource($ntlm_auth)) { 
    421422    // $pipes now looks like this: