Commit 2542cc4e authored by jiangbowen's avatar jiangbowen

test conn

parent be2af1b8
...@@ -12,7 +12,7 @@ class LdapController extends Controller ...@@ -12,7 +12,7 @@ class LdapController extends Controller
{ {
$ad = new \Adldap\Adldap(); $ad = new \Adldap\Adldap();
$config = [ $config = [
'hosts'=>['test.com'], 'hosts'=>["172.20.100.201"],
'base_dn'=>'ou=Users_hoto,dc=hoto,dc=test', 'base_dn'=>'ou=Users_hoto,dc=hoto,dc=test',
'username' => 'hoto\hcmadmin', 'username' => 'hoto\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