Changeset 716 for trunk/php/authclass.php
- Timestamp:
- 11/22/09 22:09:30 (4 months ago)
- Files:
-
- 1 modified
-
trunk/php/authclass.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/php/authclass.php
r690 r716 306 306 // $aaa=ExecuteShellScript("bin/testwbinfopasswd", $e); 307 307 // $aaa=ExecuteShellScript("bin/testwbinfopasswd", $e); 308 $aaa=ntlm_auth ($this->UserName,$password,$SAMSConf->WBINFOPATH);308 $aaa=ntlm_auth($this->UserName,$password,$SAMSConf->WBINFOPATH); 309 309 // if(stristr($aaa,"authentication succeeded" )!=false||stristr($aaa,"NT_STATUS_OK" )!=false) 310 310 if(stristr($aaa,"OK" )!=false||stristr($aaa,"ERR" )!=true) … … 417 417 1 => array("pipe", "w") // stdout is a pipe that the child will write to 418 418 ); 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); 420 421 if (is_resource($ntlm_auth)) { 421 422 // $pipes now looks like this:
