Commit e516318b authored by jiangbowen's avatar jiangbowen

test conn

parent 1069bea0
......@@ -27,8 +27,8 @@ Route::get('/ad', function () {
// 'admin_username'=>'hcmadmin',
// 'admin_password'=>'hcmadmin123' hoto.test\hcmadmin 密码:hcmadmin123
// ];
echo "new obj...\r\n";
var_export($ad);
// echo "new obj...\r\n";
// var_export($ad);
$config = [
'hosts' => ["172.20.100.201"],
'base_dn'=>'ou=Users_hoto,dc=hoto,dc=test',
......@@ -36,8 +36,8 @@ Route::get('/ad', function () {
'password'=>'hcmadmin123'
];
$ad->addProvider($config);
var_export($ad);
echo "new obj2...\r\n";
// var_export($ad);
// echo "new obj2...\r\n";
try{
// 'default','hoto\hcmadmin','hcmadmin123'
$provides = $ad->connect();
......
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