Commit 26817537 authored by jiangbowen's avatar jiangbowen

test conn

parent 583848e4
......@@ -163,6 +163,7 @@ return [
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
Adldap\Laravel\AdldapServiceProvider::class,
/*
* Package Service Providers...
......@@ -225,6 +226,7 @@ return [
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
'Adldap' => Adldap\Laravel\Facades\Adldap::class
],
......
......@@ -31,7 +31,7 @@ Route::get('/ad', function () {
var_export($ad);
$config = [
'hosts' => ["172.20.100.201"],
'base_dn'=>'dc=hoto,dc=test',
'base_dn'=>'ou=Users_hoto,dc=hoto,dc=test',
'username'=>'hcmadmin',
'password'=>'hcmadmin123'
];
......
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