Commit 26817537 authored by jiangbowen's avatar jiangbowen

test conn

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