Commit f3f268ac authored by 张育槟's avatar 张育槟

调试666

parent 77c0ce77
...@@ -116,7 +116,7 @@ class LdapController extends Controller ...@@ -116,7 +116,7 @@ class LdapController extends Controller
$dept_name='ou=IT发展部'; $dept_name='ou=IT发展部';
if(!empty($data['deptName'])){ if(!empty($data['deptName'])){
$dept_name=$dept_name.',ou='.$data['deptName']; $dept_name='ou='.$data['deptName'].','.$dept_name;
} }
foreach ($data['data'] as $key => $value) { foreach ($data['data'] as $key => $value) {
$entry=["cn"=>"{$value}"]; $entry=["cn"=>"{$value}"];
......
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