Commit 38a12897 authored by jiangbowen's avatar jiangbowen

test conn

parent 5dec68b2
...@@ -39,7 +39,7 @@ Route::get('/ad', function () { ...@@ -39,7 +39,7 @@ Route::get('/ad', function () {
var_export($ad); var_export($ad);
echo "new obj2...\r\n"; echo "new obj2...\r\n";
try{ try{
$provides = $ad->connect(); $provides = $ad->connect('default','hcmadmin','hcmadmin123');
$result = $provides->search()->ous()->find('tyestttt'); $result = $provides->search()->ous()->find('tyestttt');
var_export($result);die; var_export($result);die;
}catch (Exception $e) { }catch (Exception $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment