Commit 747df8c5 authored by jiangbowen's avatar jiangbowen

test conn

parent 8a2f975e
...@@ -39,7 +39,8 @@ Route::get('/ad', function () { ...@@ -39,7 +39,8 @@ 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('default','hoto\hcmadmin','hcmadmin123'); // 'default','hoto\hcmadmin','hcmadmin123'
$provides = $ad->connect();
// $result = $provides->search()->ous()->find('tyestttt'); // $result = $provides->search()->ous()->find('tyestttt');
var_export($provides);die; var_export($provides);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